Flutter Multiple Dynamic Dependent Dropdown List Using JSON REST API 2022 + Source Code

preview_player
Показать описание
source code:
in this tutorial we will list down the countries and and base on country selection we will list down the
corresponding states and than the cities base on state selection.

here is the reference link to get the Country State and cities record

and we will use http request to get the data from the link
Рекомендации по теме
Комментарии
Автор

Thanks so much for this, saved me a lot of stress. I've subscribed please keep dropping wonderful contents like this.

stephenjoel
Автор

Thank you mate, you have saved me a lot of time with this example, Im so grateful <3

jamiljoo
Автор

Great work keep going forward… can you make it cascading dropdown

haiderjaafer
Автор

Thank you very much :) I owe you a beer :)

MrFou-eq
Автор

Can you provide a new link for the source code the link in description didn't work

neelmodi
Автор

the link of source code dosn't work

mhmaryam
Автор

i am not change after chnge dropdown first
error :
════════ Exception caught by widgets library
There should be exactly one item with [DropdownButton]'s value: 37.
Either zero or 2 or more [DropdownMenuItem]s were detected with the same value


Failed assertion: line 1543 pos 15: 'items == null || items.isEmpty || value == null ||
item) {
return item.value == value;
}).length == 1'

sandyeffendi