ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
SnackBar (Flutter Widget of the Week)
ฝัง
- เผยแพร่เมื่อ 2 ก.พ. 2020
- Ever wanted to show a quick message in your app? Then SnackBar is for you! SnackBar lets you pop up a message for a few seconds at the bottom of your app.
Learn more about SnackBar → goo.gle/36zwBmD
This video is also subtitled in Chinese, Indonesian, Italian, Japanese, Korean, Portuguese, and Spanish.
Learn everything about Flutter at → goo.gle/2WAhEN1
Get more tips! → goo.gle/307BX6t
Subscribe! → goo.gle/FlutterYT
CAREFUL: This is now depracted as of v1.23.0-14.0.pre. Use ScaffoldMessenger.showSnackBar.
thanks man .. that really helped
That's a delicious widget thank you.
Iwan Pieterse snacky snack
amazing , your community is rapidly getting bigger and bigger , keep it up that way , with more in the depth documentation in your website , you will dominate the cross platform market in a short time
.of(context) saves my life
Provider FTW!
Need more snackbar customizations? Flushbar to the rescue!
Perfect explanation in how to use this great widget! Thank you 🙂
That's a great widget to aware users, Keep going.
Seriously I am very excited to use this, it's amazing and super easy.
Thanks a lot! 💙
Cool thanks 😊
When is the web app going to be released officially? I've been waiting over 1 year.
Would love to have a solid shareintent feature. Or whatever.
very nice
jaja very bacana
Can you show the snackbar from the top?
its deprecated now. what is the new way of doing it?
now you can use "ScaffoldMessenger.of(context).showSnackBar"
It is nice
This is deprecated. You should use ScaffoldMessenger.of(context).showSnackBar(yourSnackbarHere)
Like to help people see this
Thank you ! It really helped a lot :D
failed assertion: line 5540 pos 12: '_children.contains(child)': is not true. flutter
I have this run time error
When I'm back from second page(listview) to first page
Then app get crashed
Can you please help me 🙂
Yummy,...
Why can't we just call SnackBar() method directly beneath onPressed()?
Why do we have to call Scaffold.of(context).showSnackBar first?
that thing confuses me too
Why this dont work on overlay?
Which widget #?
how to display it after navigation is done?
Could you please elaborate? And if you had found the solution, could you summarize it here? Thanks
@@marflage I want to show when I navigate from page1 to page2. I can have an initState on page2 but I think is better having a .then for the navigation method
This has been deprecated 🤷🏻♂️
Why the hell is this widget called Snackbar???
Because they are snackbars: material.io/components/snackbars
why there are 11 dislikes?
probably someone expected some snack XD
now it is ScaffoldMessenger not only Scaffold
ScaffoldMessenger.of(context).showSnackBar();
Does any of you using flutter to build REAL WORLD applications?
Yes there are plenty apps already out both for Android and iOS.
Yes. I built an “Instagram for pets” with flutter. “Minderz” it’s on the iOS and Android store
Google stadia app is built on top of Flutter.
Yes, for instance "Priority Todo", which is a todo app on android.
But there are many other apps and since flutter is becoming increasingly popular you will eventually find more
I made 'hisss' game and 'Giant Sudoku' game in flutter in just 3 to 4 days.
Flutter team pleassssssse fix black screen when app launching
i searched about it and i found solution that i should add a splash screen ....
please fix this bug
thanks ):
Está desatualizado.
Não é mais Scaffold.of(); é ScaffoldMessenger.of()