Package selection guidance compiled from public package information, community data, and project usage.
A customizable Flutter dropdown widget that displays options below the input field, enhancing user experience with flexible styling and behavior. Developers can tailor appearance, animation, and interaction to match their app's design. Ideal for forms and selection interfaces where space and aesthetics matter. The package supports all major platforms, ensuring consistent behavior across devices.
Use cases
Form inputs with dropdowns
Customizable selection menus
Mobile and web UI enhancements
Dynamic form fields
Accessibility-focused designs
Key features
Positioned below the input
Highly customizable appearance
Cross-platform compatibility
Smooth animations
Extensible API
Support for custom widgets
Suitable for
UI/UX designers
Flutter developers
Form-heavy applications
Apps requiring tailored dropdowns
Projects with strict design guidelines
Considerations
Requires manual handling of state
Limited built-in validation
May need additional styling for complex layouts
Not optimized for very long lists
Depends on external dependencies for advanced features
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Flutter Dropdown_Below
A Flutter Dropdown library which is customize flutter dropdownbutton widget.
Options
options
description
type
required
itemWidth
dropdown item's box width
double
X
itemTextstyle
dropdown item's text style
double
X
boxTextstyle
seletced box text style
TextStyle
X
boxPadding
seletced box inner padding
EdgeInsetsGeometry
X
boxHeight
seletced box height
double
X
boxWidth
seletced box width
double
X
hint
text before you choose item
Widget
X
value
selected item
T
X
boxDecoration
box's border, borderRadius, color
BoxDecoration
X
icon
widget which is right beside
Widget
X
items
itemsList
List<DropdownMenuItem>
O
onChange
change item function
ValueChanged
O
How to make it Work?
Description for example.
1. datas
_testList's type is always be a list.
If you want to use map or other type, you can customize this package.
List _testList = [{'no': 1, 'keyword': 'blue'},{'no': 2, 'keyword': 'black'},{'no': 3, 'keyword': 'red'}];
List<DropdownMenuItem> _dropdownTestItems;
var _selectedTest;
2. initState & build items to correct type
If you want to customize item's child widget ex) Text -> Container, You can change any widget you want.
@override
void initState() {
_dropdownTestItems = buildDropdownTestItems(_testList);
super.initState();
}
List<DropdownMenuItem> buildDropdownTestItems(List _testList) {
List<DropdownMenuItem> items = List();
for (var i in _testList) {
items.add(
DropdownMenuItem(
value: i,
child: Text(i['keyword']),
),
);
}
return items;
}