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 - Наука та технологія
Thank you very much!! It saved my day.
Awesome. I'm happy this video gave you some value.
It saves my day, thank you.
exactly what I was hoping for. Thank you.
you are awesome man
Thank you kind sir
Thank you very much.
You're very welcome
you are my fav
Thanks man! That's pretty cool to hear
Good sheet, sir ;)
Haha 🤘 thanks thanks
awesome
💪💪
Text (" Thank for sharing "),
Thanks for watching 😊
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.
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.
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.
Thank you. No you're not missing anything. If you can make it looks the same with only one container then you definitely should 😊
can i change the grey background color below modal when it is active?
You can. Keep a value that indicates it's active and change the color based on that.
is it not getting overlapped with keyboard? if any one checked please let me know?
I think I showed that in the video? I can't remember.
no only input box was shown at the end not entered any text, I will check it. Thanks for quick response 🙂
is it possible to trigger the bottomSheet with a future event?
Yes, it is possible.
@@FilledStacks thanks for your fast answer! Is it even possible without an on click action? for example an error or a bool?
@@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.
mantap
man tap? when I open it does manliness flow out? 😁
@@FilledStacks lol it’s indonesian/malaysian slang for “good stuff”!
@@wheatonrecurrence9525 haha! Awesome :D That's almost as good as what I was thinking. Either way I'm happy with the comment.
how to refresh bottom sheet
Store the bottom sheet controller returned from the show call and call set state. I mention it in the video
most important part is keyboard overlay , please do it how to remove it
It should be moving up on its own if you're not using a modal overlay