Here is my code for first dropdown padding: const EdgeInsets.all(12. it only gets enabled after clicking or selecting the value in first dropdown. This is a convenience widget that wraps a DropdownButton widget in a FormField. YourClassView has two field: DisplayValue and DatabaseValue YourClassView currentComboView List listMenuItems class A FormField that contains a DropdownButton.tolist to flat out the results of the mapping. In the below screenshot we can see that the data is filled or been selected in every dropdown but second dropdown is still been disabled. I map the dataViews into the listMenuItems by casting it and using the map function.
0 Comments
Leave a Reply. |