Just wrap DropdownButton inside DropdownButtonHideUnderline like this :
new DropdownButtonHideUnderline(
child: DropdownButton()
)
DropdownButtonFormField<int>(
decoration: InputDecoration(
enabledBorder: InputBorder.none,
...
),
...
)
Code Example |
---|
Dart :: dart find element in list |
Dart :: change font size flutter |
Dart :: flutter path join |
Dart :: flutter checkbox color |
Dart :: string to double dart |
Dart :: how to pop all screens flutter |
Dart :: flutter file size |
Dart :: flutter flip image |
Dart :: RotatedBox class - widgets library - Flutter API |
Dart :: dart string to color |
Dart :: dart square root |
Dart :: flutter popupmenubutton |
Dart :: flutter slider color |
Dart :: add dollar sign in flutter |
Dart :: flutter bullet point |
Dart :: dart qoldiqni olish |
Dart :: How to change the Flutter TextButton height? |
Dart :: flutter add value to list<map<string, int |
Dart :: check data type flutter |
Dart :: flutter icon logout |
Dart :: dart deep copy list |
Dart :: dart extension |
Dart :: flutter appbar default padding |
Dart :: convert date in flutter |
Dart :: position of item in array dart |
Dart :: scroll with mouse in flutter |
Dart :: flutter slider |
Dart :: how to rename file in flutter |
Dart :: object dart |
Dart :: provider flutter |