Flutter: DropdownButton (Create Dropdown List)
Вставка
- Опубліковано 26 жов 2020
- Link donate : paypal.me/lirstechtips
Group : / 808719699605259
Fan Page: / lirs-tech-tips-1114490...
- In this video, I show you How to do DropdownButton (Create Dropdown List) in Flutter
PlayList Tutorial Flutter:
• Flutter Tutorial
Hope help more for everyone!
Excellent Work Bro! I have learned a lot of new things from your videos
I was search for a while. and after all i get the solution thanks man.🖤
Keep it Up
just wow man. you taught us without a word. fantastic job
Thanks You helped me a lot!
would be cool to show how to style the container that shows the list too (e.g. adding rounded borders) ...
Hi Bro, please help me, how to add the small divider at near arrow_drop_down in dropdownButton?
Can we customize the child items I tried a lot but not getting
Simply round border to child list and item with a divider
But this child's code affect main button
Divider added in button and text goes up in button widget
It quite frustrating that you can not customize dropdown
Thank you so much Sir❤️❤️❤️
sir how about to implement dropdown with bloc?
How to access the value variable in another statefull widget
Thanks for that.
so clear!
Thank You Sir
How to add multiple drop down box?
Super video friend keep it up +1 like
very useful
How to use it with the provider package
Nice :D
hello Lirs Tech Tips how to add validation on dropdownbutton
What if my list isn't composed by strings but from integers? Jus change the strings names to int?
yes thats it
Hello my friends, share videos or wish you success always like 👍🌻💖💑💯
Great work! How can I add an icon to the left? Like prefix icon?
You can custom child in DropdownMenuItem
Great ...
Chia sẻ hay
Thanks
setState error --> The method 'setState' isn't defined for the type 'HomeScreen'.
Try correcting the name to the name of an existing method, or defining a method named 'setState'.
u may be trying it with a stateless widget, try statefull widget
I think this tutorial will error at Dropdown(value) because now in flutter 2 have nullsafety.
You can also use this tutorial with add on initstate which is you initiate your valueChoose with one item of the listItem..
@override
void initState() {
super.initState();
valueChoose = listItems[0];
}
Thanks, this helped
valueChoose = newValue;
the Error is " Error: A value of type 'Object?' can't be assigned to a variable of type 'String'." when i assign to newValue.. Please do help
Same here! Did you solved that? How?
@@LuisOtavioZimmermann I think this is null safety thing. valuChoose = newValue!. This will Work Out.
i did you solved your problem?
i faces this problem too
@@sajugr3716 still showing the same error... any idea what to do ??
a bit late but I did valueChoose = newValue.toString();.
setState method have error
what is error you receive? I tried it active
@@Ihavefreefun I make that in the stateless widget. I solve that
@@Ihavefreefun why you not reply male and ....