dropdown_button2 library
Classes
- ButtonStyleData
- A class to configure the theme of the button.
-
DropdownButton2<
T> - A Material Design button for selecting from a list of items.
-
DropdownButton2State<
T> -
DropdownButtonFormField2<
T> - A FormField that contains a DropdownButton2.
-
DropdownSearchData<
T> - A class to configure searchable dropdowns.
- DropdownStyleData
- A class to configure the theme of the dropdown menu.
- IconStyleData
- A class to configure the theme of the button's icon.
- MenuItemStyleData
- A class to configure the theme of the dropdown menu items.
Enums
- DropdownDirection
- 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.