dropdown_button2 library

Classes

ButtonStyleData
A class to configure the theme of the button.
A Material Design button for selecting from a list of items.
A FormField that contains a DropdownButton2.
A class to configure searchable dropdowns.
A class to configure the theme of the dropdown menu.
IconStyleData
A class to configure the theme of the button's icon.
A class to configure the theme of the dropdown menu items.

Enums

The direction of the dropdown menu in relation to the button.

Typedefs

OnMenuStateChangeFn = void Function(bool isOpen)
Signature for the callback that's called when when the dropdown menu opens or closes.
SearchMatchFn<T> = bool Function(DropdownMenuItem<T> item, String searchValue)
Signature for the callback for the match function used for searchable dropdowns.
SelectedMenuItemBuilder = Widget Function(BuildContext context, Widget child)
A builder to customize the selected menu item.