There are options if you already have a list of elements then use list.map((e) => DropDownMenuItem( value: e, child: Text(e), )).toList() Or another option would be ... items: [ for (int i = 0; i < 20; i++) DropDownMenuItem( value: i, child: Text("Item $i"), ), ], ... It's upto you to chose one
Thumbnail and video not same.. pls add proper Thumbnail
that thumbnail was clickbait. please do proper design like the thumbnail
all u have to do is change the icon and style of the dropdown menu
i become so happy when i find the thing am looking for in this channel ♥
Sameeeeeeeeeeeeeeeeeeeeeeeeeeeeee
What is the thumbnail and what is the video ? Come one bro.
Thumbnail 😂😂
Thumbnail in the video is misleading
♥♥♥
If we have a list of cities how to assign list to items:
There are options
if you already have a list of elements then use list.map((e) => DropDownMenuItem(
value: e,
child: Text(e),
)).toList()
Or another option would be
...
items: [
for (int i = 0; i < 20; i++)
DropDownMenuItem(
value: i,
child: Text("Item $i"),
),
],
...
It's upto you to chose one
@@TechBuddy_ thank you bro 🥰