A Beginners Guide to the Flutter Bottom Sheet | Tutorial

Поділитися
Вставка
  • Опубліковано 10 лип 2019
  • In this tutorial I cover everything you need to know about the bottom sheet to build a nice UI for user interaction.
    Written: www.filledstacks.com/post/bot...
    Github: github.com/FilledStacks/flutt...
    This tutorial covers:
    1. Showing Flutter Bottom Sheet
    2. Setting the Bottom Sheet height in Flutter
    3. Listen to when the bottom sheet closes
    4. Styling a bottom sheet in flutter
  • Наука та технологія

КОМЕНТАРІ • 45

  • @bibek3027
    @bibek3027 3 роки тому

    Thank you very much!! It saved my day.

    • @FilledStacks
      @FilledStacks  3 роки тому +1

      Awesome. I'm happy this video gave you some value.

  • @saguoran
    @saguoran 4 роки тому

    It saves my day, thank you.

    • @FilledStacks
      @FilledStacks  4 роки тому

      exactly what I was hoping for. Thank you.

  • @chandimarajapaksha2496
    @chandimarajapaksha2496 5 років тому +1

    you are awesome man

  • @heshamabuzaid4293
    @heshamabuzaid4293 3 роки тому

    Thank you very much.

  • @PotatoNemo
    @PotatoNemo 5 років тому +1

    you are my fav

    • @FilledStacks
      @FilledStacks  5 років тому

      Thanks man! That's pretty cool to hear

  • @narcodico
    @narcodico 5 років тому +1

    Good sheet, sir ;)

  • @carterv.31
    @carterv.31 5 років тому +1

    awesome

  • @cgivfx3d
    @cgivfx3d 5 років тому +8

    Text (" Thank for sharing "),

  • @jorgwei8590
    @jorgwei8590 2 роки тому

    Sounds ver useful to have all the state management stuff at the beginning, but it makes it a bit more advanced than "beginner". Savign it for later.

    • @FilledStacks
      @FilledStacks  2 роки тому

      That is an accurate observation. This is not for the beginner setup. It's when you're at the point where you have to split your business logic code from your UI code.

  • @joelee2032
    @joelee2032 4 роки тому +1

    Thank you for all the sharing, I really appreciate it. However, there is something makes me confused in this tutorial.I don't understand of adding all the Container and Column widgets in the first layer of the widget tree, since with only one Container can do the same thing. Am I missing something? please help me out, thanks a lot.

    • @FilledStacks
      @FilledStacks  4 роки тому +1

      Thank you. No you're not missing anything. If you can make it looks the same with only one container then you definitely should 😊

  • @user-fh4xo2pc2d
    @user-fh4xo2pc2d 4 роки тому

    can i change the grey background color below modal when it is active?

    • @FilledStacks
      @FilledStacks  4 роки тому

      You can. Keep a value that indicates it's active and change the color based on that.

  • @tirupatirao7521
    @tirupatirao7521 4 роки тому +1

    is it not getting overlapped with keyboard? if any one checked please let me know?

    • @FilledStacks
      @FilledStacks  4 роки тому

      I think I showed that in the video? I can't remember.

    • @tirupatirao7521
      @tirupatirao7521 4 роки тому

      no only input box was shown at the end not entered any text, I will check it. Thanks for quick response 🙂

  • @Trang487
    @Trang487 4 роки тому

    is it possible to trigger the bottomSheet with a future event?

    • @FilledStacks
      @FilledStacks  4 роки тому

      Yes, it is possible.

    • @Trang487
      @Trang487 4 роки тому

      @@FilledStacks thanks for your fast answer! Is it even possible without an on click action? for example an error or a bool?

    • @FilledStacks
      @FilledStacks  4 роки тому

      @@Trang487 Yes. Wrap it in a service and call it where you want to call it. It's just a function call so you can call it wherever you want.

  • @chairilrafi4312
    @chairilrafi4312 4 роки тому

    mantap

    • @FilledStacks
      @FilledStacks  4 роки тому +1

      man tap? when I open it does manliness flow out? 😁

    • @wheatonrecurrence9525
      @wheatonrecurrence9525 3 роки тому

      @@FilledStacks lol it’s indonesian/malaysian slang for “good stuff”!

    • @FilledStacks
      @FilledStacks  3 роки тому

      @@wheatonrecurrence9525 haha! Awesome :D That's almost as good as what I was thinking. Either way I'm happy with the comment.

  • @ashujain5757
    @ashujain5757 4 роки тому

    how to refresh bottom sheet

    • @FilledStacks
      @FilledStacks  4 роки тому

      Store the bottom sheet controller returned from the show call and call set state. I mention it in the video

  • @bawantharajapaksha6417
    @bawantharajapaksha6417 3 роки тому

    most important part is keyboard overlay , please do it how to remove it

    • @FilledStacks
      @FilledStacks  3 роки тому

      It should be moving up on its own if you're not using a modal overlay