Flutter Tutorial - Draggable Modal Bottom Sheet: Scrollable, Height, Full Screen, Rounded Corners

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Use the Flutter Draggable Modal Bottom Sheet to display extra information within a custom height sheet in Flutter. Adjust the height of the bottom sheet, make the bottom sheet scrollable, make the bottom sheet full screen, and include rounded corners & circular corners to the bottom sheet.
    Click here to Subscribe to Johannes Milke: czcams.com/users/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/moda...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/#/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    RESOURCES
    Persistent Bottom Sheet Tutorial: • Flutter Tutorial - Per...
    Draggable Scrollable Sheet Tutorial: • Flutter Tutorial - Dra...
    Sliding Up Panel Tutorial: • Flutter Tutorial - Sli...
    Fix Bottom Overflowed By Pixels Tutorial: • Flutter Tutorial - Fix...
    Shimmer Loading Animation Tutorial: • Flutter Tutorial - Shi...
    Animated List Tutorial: • Video
    Navigation Drawer Tutorial: • Flutter Tutorial - Sid...
    Collapsible Sidebar Menu Tutorial: • Flutter Tutorial - Col...
    Selectable Sidebar Menu Tutorial: • Flutter Tutorial - Sel...
    Sortable DataTable Tutorial: • Flutter Tutorial - Sor...
    Selectable DataTable Tutorial: • Flutter Tutorial - Sel...
    Editable DataTable Tutorial: • Flutter Tutorial - Edi...
    Expandable ListView Tutorial: • Flutter Tutorial - Exp...
    Drag & Drop In ListView Tutorial: • Flutter Tutorial - Dra...
    Drag & Drop Widgets Tutorial: • Flutter Tutorial - Dra...
    Flutter Layout Basics Tutorial: • Flutter Layout Basics:...
    TIMELINE
    0:00 Introduction Draggable Modal Bottom Sheet
    0:20 Create Modal Bottom Sheet / showModalBottomSheet
    1:06 Expanded Column In Modal Bottom Sheet
    1:28 Shrinked Column To Widget Height In Modal Bottom Sheet
    1:40 Overflowed By Pixels In Modal Bottom Sheet
    2:17 Dismiss Bottom Sheet By Scrolling Down
    2:23 Dismiss Bottom Sheet Programmatically
    2:45 Disable Hide Bottom Sheet By Dragging / enableDrag
    3:09 Disable Dismissable Bottom Sheet / isDismissable
    3:31 Set Widget Content Height For Modal Bottom Sheet
    4:13 Rounded Corners Bottom Sheet / Circular Corners Bottom Sheet
    4:59 Set Height For Modal Bottom Sheet / Set Height For Draggable Scrollable Sheet
    6:14 Scrollable Modal Bottom Sheet / Scrollable Draggable Scrollable Sheet
    6:45 Scroll To Maximum Height In Bottom Sheet / maxChildSize
    7:15 Hide Bottom Sheet By Scrolling
    7:26 Full Screen Modal Bottom Sheet
    7:53 Fix Dismissable In Draggable Scrollable Sheet
    8:23 Fix Rounded Corners For Draggable Scrollable Sheet
    SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
    *********
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    LEARN MORE
    SOURCE CODE | github.com/JohannesMilke
    ARTICLES | / johannesmilke
    PLAYLISTS
    All Flutter Videos | • Flutter Tutorial - Flu...
    Widgets - Flutter | • Flutter Tutorial - Flu...
    Plugins - Flutter | • Flutter Tutorial - Flu...
    Animations - Flutter | • Flutter Tutorial - Tra...
    Designs - Flutter | • Flutter Tutorial - Flu...
    Firebase - Flutter | • Flutter Tutorial - Pag...
    State Management - Flutter | • Flutter Tutorial - Riv...
    CREDITS
    Copyright song "Corporate Technology" by scottholmesmusic.com
    #Flutter #Tutorial #JohannesMilke
    Create Flutter Modal Bottom Sheet Tutorial, Create Flutter Modal Bottom Sheet with Rounded Corner & Transparent Background, Use A Beginners Guide to the Flutter Bottom Sheet, Modal Bottom Sheet - Android Studio Tutorial, Flutter: BottomSheet Tutorial | Persistent & Modal Sheets
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
    bit.ly/JohannesMilke
  • Věda a technologie

Komentáře • 114

  • @HeyFlutter
    @HeyFlutter  Před rokem +1

    👉Join 12 Week Flutter Training: heyflutter.com
    👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
    Source Code: github.com/JohannesMilke/modal_bottom_sheet_example

  • @newman4548
    @newman4548 Před 2 lety +2

    what I Like about your video is that you covered all the cases that we may have, awesome video man, keep them coming

  • @danielbrandao5484
    @danielbrandao5484 Před 3 lety +1

    Hey Johannes, your videos are incredible. I have been consuming a lot of your content.
    Hugs from Brazil

  • @DamithaRaveendra
    @DamithaRaveendra Před 2 lety +1

    Love your content. I'm just learning stuff and these videos help me because most of the contents are up to date. Planning to learn more. Thanks a lot. Cheers !!!

  • @iamnomana
    @iamnomana Před 2 lety

    Another awesome tutorial from one of my fav CZcamsrs 👌🏼❤️

  • @jajasaria
    @jajasaria Před 3 lety +1

    Ohh here it its. So happy you make a tutorial on this. Thank u so much

  • @ifelix822
    @ifelix822 Před 2 lety +1

    awesome tutorial. well explained!

  • @bibekmagar9897
    @bibekmagar9897 Před 2 lety

    As always your video is very helpful ..Thank you for this tutorial

  • @sauravk5767
    @sauravk5767 Před 2 lety

    very helpful video. thank you Milke

  • @sauravgupta6166
    @sauravgupta6166 Před 2 lety +1

    Thankyou brother u r now one my fav youtuber

  • @armn0912
    @armn0912 Před 2 lety

    You make my knowledge great again 😁. Thanks you very much

  • @josephkamande4502
    @josephkamande4502 Před 2 lety

    You know flutter a lot. Thanks for your nice videos

  • @locphucinh6160
    @locphucinh6160 Před 3 lety

    Thank you very much. Great tutorial

  • @SirChatur
    @SirChatur Před 3 lety

    Keep doing this great work

  • @user-xv8xg8zs2e
    @user-xv8xg8zs2e Před 2 lety

    You are awsome! Just what i was looking for! thanks!

  • @serious_psychologist
    @serious_psychologist Před 2 lety

    best explanation I've ever seen :-) thanks a lot!!!

  • @uditmishra5583
    @uditmishra5583 Před 2 lety

    very helpful man,thanks👍👍

  • @robisonkarls
    @robisonkarls Před 2 lety

    I love it, thx for the content.

  • @SunGkd123
    @SunGkd123 Před 3 lety

    Great tutorial thank you 😁

  • @c4m3lion
    @c4m3lion Před rokem +1

    I always try to find other solutions as well. But yours are so perfect I cannot find anywhere on internet. Thanks

  • @wesleybarnes5376
    @wesleybarnes5376 Před 2 lety

    Thanks for video!

  • @Hassan-kp5cu
    @Hassan-kp5cu Před 3 lety

    Well done. Thanks

  • @hashammubeen5208
    @hashammubeen5208 Před 3 lety

    You amazing Bro ...
    I understand every thing in this video ...
    keep growing. Love from PAKISTAN ❤

  • @imchiennb
    @imchiennb Před 3 lety

    your content is awesome.

  • @calma4030
    @calma4030 Před 2 lety

    Very nice!

  • @fcruz6711
    @fcruz6711 Před rokem

    Best flutter channel on YT

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Glad to hear that, Thank you fcruz! 😊

  • @SagarSinghAwesome
    @SagarSinghAwesome Před 2 lety +1

    Your all videos are awesome

  • @FransGamingLow
    @FransGamingLow Před rokem

    Love the explanation. Thank you very much

    • @HeyFlutter
      @HeyFlutter  Před rokem

      You’re most welcome, Frans Gaming Low! 🙂

  • @ricard458
    @ricard458 Před 2 lety

    great help! Thanks. If you need to do something additionally while closing the bottom sheet, you can do showModalBottomSheet(...).whenComplete(() => yourMethod());

  • @user-vi2fp6dl7b
    @user-vi2fp6dl7b Před 2 měsíci

    Good job! Thank you very much!

    • @HeyFlutter
      @HeyFlutter  Před 2 měsíci

      Glad it was helpful, @user-vi2fp6dl7b 😀

  • @blessingezinne1407
    @blessingezinne1407 Před 11 měsíci

    Really helpful... thank you

    • @HeyFlutter
      @HeyFlutter  Před 11 měsíci

      You’re most welcome, @blessingezinne1407! 🙂

  • @dzTiger23
    @dzTiger23 Před 2 lety

    Big fan of your content.from Algeria

  • @timurkarev6590
    @timurkarev6590 Před 2 lety

    Very good contentment, you helps me a lot of times.
    Thank you!

    • @HeyFlutter
      @HeyFlutter  Před 2 lety

      Glad I could be of help, Thank you Timur Karev! 😊

  • @The_Lik_96
    @The_Lik_96 Před rokem

    Well done bro!

  • @kaushalyaroshan
    @kaushalyaroshan Před rokem

    Awesome content. Thank you so much❤❤🔥🔥

    • @HeyFlutter
      @HeyFlutter  Před rokem

      You’re most welcome, Kaushalya Roshan! 🙂

  • @serdariss1043
    @serdariss1043 Před 2 lety +2

    @Johannes Milke thanks for the guides they are really helpful! I have a question about this widget, how do i make the modal bottom sheet show up without using a button? I want it to be showing everytime and i just wanna use the buttons to change between different Modal Bottom Sheets. How can i achieve this?

  • @walaaeuqul728
    @walaaeuqul728 Před 8 měsíci

    Very helpful.. thank you a lot 👍🏻

    • @HeyFlutter
      @HeyFlutter  Před 8 měsíci

      Glad it was helpful, @walaaeuqul728 😀

  • @naveen__sah
    @naveen__sah Před rokem

    thank you so much for the best and most helpful tutorial

    • @HeyFlutter
      @HeyFlutter  Před rokem

      You’re most welcome, Naveen Sah! 🙂

  • @fabiendesnoues9080
    @fabiendesnoues9080 Před 2 lety

    Thank for 6:45 - 7:15 !!!!

  • @prashantbhardwaj7627
    @prashantbhardwaj7627 Před rokem

    Thanks alot man! you saved me a lot of time.

    • @HeyFlutter
      @HeyFlutter  Před rokem +1

      You are welcome, Prashant Bhardwaj!

  • @sportKO12
    @sportKO12 Před 3 lety

    Thx bro.

  • @caramelcoffeejelly5512
    @caramelcoffeejelly5512 Před 8 měsíci

    thanks a lot bro

    • @HeyFlutter
      @HeyFlutter  Před 8 měsíci

      You’re most welcome, @caramelcoffeejelly5512! 🙂

  • @wahyujus
    @wahyujus Před 3 lety

    nice sheet video
    sheesh

  • @samrashafique8580
    @samrashafique8580 Před 2 lety

    best :) thank u ..

  • @oleksiivinokur2195
    @oleksiivinokur2195 Před rokem

    Thx a lot

    • @HeyFlutter
      @HeyFlutter  Před rokem

      You are welcome, @oleksiivinokur2195 😊

  • @PhilGerb93
    @PhilGerb93 Před 2 lety

    You are a goddamn hero

  • @andresarenas2833
    @andresarenas2833 Před 2 lety

    Thankss

  • @saadebad3063
    @saadebad3063 Před 2 lety

    awesome video bro ... i jst want to ask can we navigate to other screen using bottom sheet

  • @stanislauspnayenggita1361

    Thank you for this great video
    How do I set the Safe Area to the Modal Bottom Sheet?
    say, I want to make a full screen sheet. But the sheet doesn't reach the status bar
    Thanks before

  • @mohammedabdaldaim6723
    @mohammedabdaldaim6723 Před 3 lety

    Very nice bro.. I hope you make a full functional app Like (E-commerce app). thanks

  • @antoniou.c.oliveira572

    👋👋👋thanks so much👋👋👋

    • @HeyFlutter
      @HeyFlutter  Před rokem

      You are welcome, Antonio U. C. Oliveira!

  • @amazedking1333
    @amazedking1333 Před 3 lety +1

    can we have video about overlay our flutter application over other apps

  • @guy-fl
    @guy-fl Před 2 měsíci

    Hats off

  • @amgedgamer1827
    @amgedgamer1827 Před 3 lety

    Waw great

  • @battlehunterofficial4586

    Please help I have made a countdown timer which is working fine in body but it's not working in model bottom sheet how I can fix this

  • @xjuanxo
    @xjuanxo Před rokem

    Thaaaaaanks

    • @HeyFlutter
      @HeyFlutter  Před rokem

      You are welcome, Juan Mosquera 😊

  • @dranzgaming1341
    @dranzgaming1341 Před rokem

    Very helpful🫡❤

  • @FDiasBsb
    @FDiasBsb Před 2 lety

    Amazing, help me too mach

    • @HeyFlutter
      @HeyFlutter  Před 2 lety

      Glad I could be of help, Thank you Fernando Dias! 😊

  • @tiktik1516
    @tiktik1516 Před 2 lety

    the opaque will pop anywhere in your widget(showmodelbottomsheet). How can we pop only the child: DraggableScrollable widget with a tap on outside the widget?

  • @mohamedyashik1049
    @mohamedyashik1049 Před 3 lety

    How to datatable s.no rows values increment manually?

  • @sessodantesco2605
    @sessodantesco2605 Před 2 lety +1

    Great video, but do you know how create a buttom sheet drop down by top of the screen?

    • @sessodantesco2605
      @sessodantesco2605 Před 2 lety

      @@HeyFlutter oh yes, in my project i want add a bottom sheet, but i want that it appears on the top of the screen. I hope to express myself good, but i am not good with english

  • @zubairafzal6196
    @zubairafzal6196 Před 3 lety

    Bro make a play list on projects by flutter

  • @ndukwevictory1663
    @ndukwevictory1663 Před 2 lety

    I encountered an error at 2:36. I put context and it gave me an error. Please how do I fix it?

  • @mufcandika
    @mufcandika Před rokem

    hi, i have a problem like 9:06 where i the rounded corner doesnt disappear when we scroll, do you know how to fix it? thank you

    • @HeyFlutter
      @HeyFlutter  Před rokem +1

      Thank You @mufcandika! Follow this link: stackoverflow.com/questions/50376200/how-to-create-a-modal-bottomsheet-with-circular-corners-in-flutter
      I hope you will get your answer 🙂

  • @codboxer
    @codboxer Před rokem

    Jo.. How can I tap a button on the screen, when the bottom sheet on the screen in initialChildSize ?

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You rafi mohammed! Follow this link: medium.com/flutter-community/flutter-beginners-guide-to-using-the-bottom-sheet-b8025573c433
      I hope you will get your answer 🙂

  • @funnynews341
    @funnynews341 Před 2 lety

    how to setstate in Modal Bottom Sheet ? i create a RangeSlider but can't setstate for rangeSlider work correct?

  • @havlikmiklos2773
    @havlikmiklos2773 Před 2 lety

    Is there any way to size the modalbottomsheet max height based on its content?

    • @havlikmiklos2773
      @havlikmiklos2773 Před 2 lety

      @@HeyFlutter I already tried this one, but it didn't work for me

  • @sevabante7781
    @sevabante7781 Před 2 lety

    Do you have an idea on how to make a row of images scroll horizontally inside a bottomsheet?

    • @sevabante7781
      @sevabante7781 Před 2 lety

      @@HeyFlutter Thanks but my problem is that I have a bottomsheet that has a ListView that scrolls vertically but inside that ListView i need some images to scroll horizontally. Basically a nested list with different scroll direction. The thing is, it gives me an error when using nested ListView.

  • @arashmidos100
    @arashmidos100 Před 3 lety

    Thanks for your tutorial, however, I don't like mandatory subscriptions for a snippet code

  • @rajashanmugam5510
    @rajashanmugam5510 Před 2 lety

    hi i tried ,after building apk that page will display as grey color
    what i want to do

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You Rajashanmugam! Follow this link: stackoverflow.com/questions/69862804/flutter-a-screen-is-grey-in-release-build-but-works-fine-when-run-from-androi
      I hope you will get your answer 🙂

  • @ryanb1738
    @ryanb1738 Před rokem

    Any idea how I could add Google Places API data like address, website, opening hours, etc. to the bottom sheet when clicked on a marker on the Google Map?

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You Ryan B! Follow this link: medium.com/@rajesh.muthyala/flutter-with-google-maps-and-google-place-85ccee3f0371
      I hope you will get your answer 🙂

    • @ryanb1738
      @ryanb1738 Před rokem

      @@HeyFlutter Thank you. I had actually found that link beforehand and still struggle calling the api in the modal bottom sheet. Will keep trying.

  • @Socsob
    @Socsob Před rokem

    Struggling to curve the edges after setting the intialChildSize with the transparent background

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You Boscos! Follow this link: stackoverflow.com/questions/50376200/how-to-create-a-modal-bottomsheet-with-circular-corners-in-flutter
      I hope you will get your answer 🙂

  • @aminelahrim8142
    @aminelahrim8142 Před 3 lety +1

    You should explain Flutter Push notification Background and fourground in Android and specialy on IOS (extra work) with Text And Image in Notification there is no content do that as vedio in both platform

    • @s-sugoi835
      @s-sugoi835 Před 3 lety

      i think push notifications goes waaaay beyond flutter tutorials scope as you would either need to implement firebase FCM or create a php websocket api.

  • @fedecasani1346
    @fedecasani1346 Před rokem

    te amo

  • @ManavendranadhRoy
    @ManavendranadhRoy Před 2 lety

    makeDismissible widget not available

  • @marcdietmann724
    @marcdietmann724 Před 2 lety

    danke das du so viele videos machst und ich immer weis dass du ein video hast, aber der deutsche Akzent haha, naja mein wär wahrscheinlich noch schlimmer

  • @rajulaherwal1575
    @rajulaherwal1575 Před 2 lety

    I no understand

  • @aminelahrim8142
    @aminelahrim8142 Před 3 lety +1

    Why you give us the Node of Flutter in simple way you deserve GDE just make improvement on Vedios Cover Image will make the channel of the level of FireShip

  • @jeslinjacob6472
    @jeslinjacob6472 Před rokem

    bro ur a life saver