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

КОМЕНТАРІ • 43

  • @Ihavefreefun
    @Ihavefreefun  3 роки тому +10

    Hope help more for everyone!

  • @umer_yaseen
    @umer_yaseen 2 роки тому +1

    Excellent Work Bro! I have learned a lot of new things from your videos

  • @khelasports7396
    @khelasports7396 2 роки тому

    I was search for a while. and after all i get the solution thanks man.🖤
    Keep it Up

  • @bronxed3666
    @bronxed3666 3 роки тому +2

    just wow man. you taught us without a word. fantastic job

  • @codesouls2441
    @codesouls2441 3 роки тому

    Thanks You helped me a lot!

  • @voinaalex6424
    @voinaalex6424 3 роки тому +1

    would be cool to show how to style the container that shows the list too (e.g. adding rounded borders) ...

  • @phongdiec9511
    @phongdiec9511 3 роки тому

    Hi Bro, please help me, how to add the small divider at near arrow_drop_down in dropdownButton?

  • @vishalvishvakarma7323
    @vishalvishvakarma7323 2 роки тому +1

    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

  • @thushankalana4940
    @thushankalana4940 9 місяців тому

    Thank you so much Sir❤️❤️❤️

  • @alexyan7245
    @alexyan7245 3 роки тому

    sir how about to implement dropdown with bloc?

  • @Abdulkadir-ld4xg
    @Abdulkadir-ld4xg 2 роки тому

    How to access the value variable in another statefull widget

  • @PaulMcKillop
    @PaulMcKillop 3 роки тому

    Thanks for that.

  • @gayratbeshimov9533
    @gayratbeshimov9533 2 роки тому +1

    so clear!

  • @30vijaytyagi9
    @30vijaytyagi9 9 місяців тому +1

    Thank You Sir

  • @bkmediaworks9542
    @bkmediaworks9542 3 роки тому

    How to add multiple drop down box?

  • @zalaDagh1
    @zalaDagh1 3 роки тому

    Super video friend keep it up +1 like

  • @lucacavall8
    @lucacavall8 3 роки тому

    very useful

  • @Abdulkadir-ld4xg
    @Abdulkadir-ld4xg 2 роки тому

    How to use it with the provider package

  • @yayapipi1385
    @yayapipi1385 3 роки тому

    Nice :D

  • @viralgohil6616
    @viralgohil6616 3 роки тому

    hello Lirs Tech Tips how to add validation on dropdownbutton

  • @marcoaramini3619
    @marcoaramini3619 3 роки тому

    What if my list isn't composed by strings but from integers? Jus change the strings names to int?

  • @chimcanhviet54
    @chimcanhviet54 3 роки тому +1

    Hello my friends, share videos or wish you success always like 👍🌻💖💑💯

  • @rodrigogaxiola9146
    @rodrigogaxiola9146 3 роки тому

    Great work! How can I add an icon to the left? Like prefix icon?

    • @Ihavefreefun
      @Ihavefreefun  3 роки тому

      You can custom child in DropdownMenuItem

  • @IcyIndia
    @IcyIndia 3 роки тому

    Great ...

  • @sonmythobonsai904
    @sonmythobonsai904 3 роки тому

    Chia sẻ hay

  • @alihussainabro7694
    @alihussainabro7694 2 роки тому

    Thanks

  • @jeancarloramirezchero9206
    @jeancarloramirezchero9206 3 роки тому +1

    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'.

    • @jayantahuja1986
      @jayantahuja1986 2 роки тому

      u may be trying it with a stateless widget, try statefull widget

  • @sandikharahardi7702
    @sandikharahardi7702 3 роки тому +5

    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];
    }

  • @sajugr3716
    @sajugr3716 3 роки тому +2

    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

    • @LuisOtavioZimmermann
      @LuisOtavioZimmermann 3 роки тому

      Same here! Did you solved that? How?

    • @sajugr3716
      @sajugr3716 3 роки тому

      @@LuisOtavioZimmermann I think this is null safety thing. valuChoose = newValue!. This will Work Out.

    • @obaydullahalnumanhasib451
      @obaydullahalnumanhasib451 2 роки тому

      i did you solved your problem?
      i faces this problem too

    • @braindroid9657
      @braindroid9657 2 роки тому

      @@sajugr3716 still showing the same error... any idea what to do ??

    • @nishadpatkar6636
      @nishadpatkar6636 Рік тому +2

      a bit late but I did valueChoose = newValue.toString();.

  • @buddhiniwalakuluarachchi8281
    @buddhiniwalakuluarachchi8281 3 роки тому

    setState method have error