Flutter DropdownButton Tutorial: Dropdown Menu Item List for beginners: Flutter with Dart #3.4

  Рет қаралды 111,857

Smartherd

Smartherd

Күн бұрын

Пікірлер: 82
@vinayvishnu6279
@vinayvishnu6279 4 жыл бұрын
All of these tutorials are excellent ... We need still more tutorials on FLUTTER as well as DART... I hope u will ....
@huangshufen2211
@huangshufen2211 5 жыл бұрын
thank you , this is the best tutuorial i have ever seen
@omar_kunta
@omar_kunta 5 жыл бұрын
I really appreciate the hard work you put to make these videos. thanks, they saved my mobile development career. kudos!
@MLEncyclo
@MLEncyclo Жыл бұрын
For those who get an error this is what I did... I used 'onChanged: (newValueSelected) {' instead of 'onChanged: (String newValueSelected) {' and I added 'value: _currentItemSelected,' right after the '}' of 'onChanged {' I hope it helps.
@AssureBitesTech
@AssureBitesTech 11 ай бұрын
Thanks..!!
@НеляФэн
@НеляФэн 4 жыл бұрын
You're one of the best at teaching. Big thanks!
@arthurfacredyn
@arthurfacredyn 5 жыл бұрын
Very well, explained, love this teaching style!
@KhaingOfficial
@KhaingOfficial 5 жыл бұрын
Your tutorial is very useful and good explanation, I like it.
@poojabhatt2854
@poojabhatt2854 4 жыл бұрын
very well explained, precise , excellent to start with flutter
@shantanukhawas8574
@shantanukhawas8574 3 жыл бұрын
I was having a syntax error -The argument type 'void Function(String)' can't be assigned to the parameter type 'void Function(String?)?'(it was occurring during the execution of OnChanged handler in the DropdownButton widget), which was later solved by using the correct data type of String? but u didn't face that issue, can u please explain the difference between String? and String
@deeptichamoli
@deeptichamoli 3 жыл бұрын
How did u solve this error??
@shantanukhawas8574
@shantanukhawas8574 3 жыл бұрын
@@deeptichamoli resplace String with String?
@umer_yaseen
@umer_yaseen 3 жыл бұрын
@@shantanukhawas8574 also removing from all places can solve the error.
@mshahzaib1629
@mshahzaib1629 4 жыл бұрын
Thanks for the description bro, kindly explain how to set initial value of dropdownList in case of getting a list from Provider?
@BudiYunior
@BudiYunior 5 жыл бұрын
How to implement cascading dropdown from json data, such as selecting category->subcategory
@aadityanaik9953
@aadityanaik9953 2 жыл бұрын
Can someone explain me what does he mean by generic type: DropDownButton???
@arshadkhanSherani
@arshadkhanSherani 4 жыл бұрын
Sir, I have used autocomplete in a flutter. it's working properly but I have more than 100000 (lakh) records in the table. in autocomplete the whole table first loading and then get ready for searching, it takes to much time to load and populated in the textbox. I want to show the result bases on entering a value in realtime means when users entering the word it should be getting from the table, not from the autocomplete stored data. Thanks
@myrtasz1036
@myrtasz1036 4 жыл бұрын
Thank you. I would need way more time to figure it out with documentation.
@TheBadaboombadabang
@TheBadaboombadabang 3 жыл бұрын
Thanks for the video. How do I store a value behind e.g. Rupees. Let's say we want a currency calculator and we want the dollar/rupees exchange value behind the item rupees. How can I do that?
@vishalvishvakarma7323
@vishalvishvakarma7323 3 жыл бұрын
Good demonstration , can we add divider in menu items
@RNMERIA
@RNMERIA 4 жыл бұрын
Thank you for such excellent videos
@anojamadusanka8914
@anojamadusanka8914 4 жыл бұрын
Nice Explanation. How to load data to the Dropdown from an API? Without hard coded values like this.
@Tonyluo2001
@Tonyluo2001 4 жыл бұрын
Thanks for the video. I'm trying to build a dropdownmenu that changes its menu items according to another input. I managed to change the list that loads into the dropdownbutton widget, but don't know how to make it refreshes itself. Can you give me some advices?
@realityandtruth9662
@realityandtruth9662 3 жыл бұрын
sir please tell me is flutter app slow and size is bigger . I am stuck between choosing kotlin or flutter . please sir your precious guidilines would be appreciated..
@YasinIlhan61
@YasinIlhan61 6 жыл бұрын
Thanks :) after this section we want more advanced videos :)
@smartherd
@smartherd 6 жыл бұрын
Database app. Is next
@enesaslan3275
@enesaslan3275 5 жыл бұрын
Bildiğin takip ettiğin başka video eğitimler var mı? Altyazı da olmayınca çok zorluyor bunlar. Aksanı tutturamıyorum :D :D
@axelpedersen1709
@axelpedersen1709 6 жыл бұрын
Thanks for yet another good tutorial
@Himricks
@Himricks 3 жыл бұрын
How to hint the text in this case like select currency
@attaroams
@attaroams 4 жыл бұрын
why thire is no serach option in dropdown button like jquery select tow or html5
@qamarabbasi4695
@qamarabbasi4695 3 жыл бұрын
Bro as you used setState() in onChanged(). How we can do this by provider pkg in the stateless widget?
@ritheshjarvis4177
@ritheshjarvis4177 3 жыл бұрын
Thanks man
@isaiahbot
@isaiahbot 5 жыл бұрын
How do you easily pass the selected value onto a form for submission either via HTTP POST or SQFLITE?
@Igalsr
@Igalsr 5 жыл бұрын
Hi! thanks for the tutorial. Maybe you know how can I add an image to the drop down menu?
@cristianperesdelima7402
@cristianperesdelima7402 5 жыл бұрын
Muito obrigado, simples e prático.
@padmatirumalareddy1715
@padmatirumalareddy1715 4 жыл бұрын
I am adding a hint text as select and after the submit button clicked how to reset the dropdown and get the hint text as "select"
@aayushsahay7711
@aayushsahay7711 3 жыл бұрын
not working for me done everything but the selected value is not getting updated
@its_gireesh
@its_gireesh 5 жыл бұрын
hi, thank you for the great tutorials helping me a lot. I have an issue as soon as I add "value" the app crashes. If i remove the value it works fine. Any idea what it might be ? Thanks .
@Musicmotivated
@Musicmotivated 5 жыл бұрын
yea me too
@Musicmotivated
@Musicmotivated 5 жыл бұрын
figured it out.. So your _currentItemSelected item 'Rupees' must match the first item in _currencies
@sansritpaudel8455
@sansritpaudel8455 5 жыл бұрын
@@Musicmotivated thank you so much you saved my precious time... I had even faced same issue but you solved it appriciated
@premchandraseakaran1847
@premchandraseakaran1847 2 жыл бұрын
How can i do validation with drop down ?
@AmanGupta-ll6zt
@AmanGupta-ll6zt 5 жыл бұрын
app size is too bigger then native app why please answer.
@NileshKumar-mk2ze
@NileshKumar-mk2ze 4 жыл бұрын
Here how we can filter Country State, District form Json Data
@rinkeshsingh6457
@rinkeshsingh6457 3 жыл бұрын
amazing
@aayushsigdel2993
@aayushsigdel2993 6 жыл бұрын
can we use int value [1,2,3] in DropdownButton and Dropdown Menu Item ?????
@smartherd
@smartherd 6 жыл бұрын
Yes
@aayushsigdel2993
@aayushsigdel2993 6 жыл бұрын
howw ????
@aloooshalsoumahi5124
@aloooshalsoumahi5124 5 жыл бұрын
how about if I don't want to put the default value , I want it to be blank, then I need to add empty value to the list?. because I tried to put currentSelectedItem="" , it shows me an error , the value should be one of the list item.
@bhaskarmahajan98
@bhaskarmahajan98 5 жыл бұрын
Alooosh Alsoumahi yes you have to add “” because the value parameter of DropDownButton is equal to _currentItemSelected and the value of “value parameter” should always be one from the list
@bhaskarmahajan98
@bhaskarmahajan98 5 жыл бұрын
There are two more better solutions. First: If you don’t want anything to be displayed just simply don’t initialise the variable “_currenItemSelected” and it will be null.(by this you don’t have to place an empty string in the list) Second: you can use “hint” parameter/property of “DropDownButton” widget which simple displays a text widget showing the specified message . So you can just keep that message empty.This message is only seen whenever the app starts only .
@abdulwahid_mohammed
@abdulwahid_mohammed 6 жыл бұрын
so great keep continue
@smartherd
@smartherd 6 жыл бұрын
Thanks
@judaspontifex
@judaspontifex 4 жыл бұрын
thankyou sir
@krishnakumarramachandran5888
@krishnakumarramachandran5888 5 жыл бұрын
Super bro.
@usertest143
@usertest143 5 жыл бұрын
How to implement country, state and city dropdown ??
@aayushsigdel2993
@aayushsigdel2993 6 жыл бұрын
how add operation when, item of Dropdown Menu is selected ?????
@smartherd
@smartherd 6 жыл бұрын
It's there in series
@ericjonas6044
@ericjonas6044 6 жыл бұрын
I saw this code setState(() { this._currentItemSelected = newValueSelected; }); Do I need to have "this".. I tried to remove "this" and it works the same too.. any help?
@smartherd
@smartherd 6 жыл бұрын
Both are same. This refers to the current context or instance where you have written code.
@ericjonas6044
@ericjonas6044 6 жыл бұрын
@@smartherd ok cool, thanks :)
@fazilmf5317
@fazilmf5317 4 жыл бұрын
setState method in not showing
@AnkitTiwari-dw9er
@AnkitTiwari-dw9er 4 жыл бұрын
So on this video, I am the 399th liker.On another one I was the 299th. Ah So Frustrating lol.Although the tutorial has been great thus far.
@sibusisondlovu7509
@sibusisondlovu7509 4 жыл бұрын
im 400th liker
@AnkitTiwari-dw9er
@AnkitTiwari-dw9er 4 жыл бұрын
@@sibusisondlovu7509 lol nice. Good for you 🤟😂
@TheBadClover
@TheBadClover 4 жыл бұрын
Source code?? Can't find it on github
@akshatbhawsar9662
@akshatbhawsar9662 5 жыл бұрын
It gives error of value is null please answer
@chrisjasonmcqueen
@chrisjasonmcqueen 5 жыл бұрын
seem to have the same issue, has there been a fix? As soon as I add the line: value: _currentItemSelected it crashes. would be very thankful for a helping hand!
@bhaskarmahajan98
@bhaskarmahajan98 5 жыл бұрын
Chris McQueen value of “value parameter” should be present in the list at any point of time(even at the beginning of app) .So check whether you are choosing the value from the list only when initialising the variable “_currenItemSelected” ?
@mojtabatavakkoli2057
@mojtabatavakkoli2057 5 жыл бұрын
how to rtl it?
@jahirglz4578
@jahirglz4578 5 жыл бұрын
Long text ?
@learningwithme382
@learningwithme382 3 жыл бұрын
very confusing tutorial. describing is very poorly
@aayushsingh8885
@aayushsingh8885 5 жыл бұрын
U did this Soo fast I can't even get a thing
@aayushsingh8885
@aayushsingh8885 5 жыл бұрын
Bad tutorial series...
@muhamadafiq650
@muhamadafiq650 5 жыл бұрын
press the button on the most left bottom corner of the video to solve your problem . Hope it helps !
@enesaslan3275
@enesaslan3275 5 жыл бұрын
subtitle pls
@pandaengine
@pandaengine 4 жыл бұрын
Learn english
@bipulsingh4290
@bipulsingh4290 5 жыл бұрын
Very bad
@avtechprint8885
@avtechprint8885 3 жыл бұрын
why my code error I am writing a code the same as you. i need to add a code: onChanged: (newValueSelected) async { setState(() { this._currentItemSelected = newValueSelected!; });
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 25 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
DropDown Menu no Flutter
10:46
Prof. Diego Antunes
Рет қаралды 14 М.
Flutter Basic Training - 12 Minute Bootcamp
12:09
Fireship
Рет қаралды 932 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН