Last active
November 11, 2020 12:50
-
-
Save Ayush783/1c6f47a9b0e0d3a1e831d63cbfb560c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
List<DropdownMenuItem<String>> languages = [ | |
for (int i = 0; i < supportedLanguages.length; i++) | |
DropdownMenuItem<String>( | |
child: Text(List.from(supportedLanguages.values)[i]), | |
value: List.from(supportedLanguages.keys)[i], | |
), | |
]; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment