AdeptMultiDropDown<T> constructor
AdeptMultiDropDown<T> ({
- AdeptDropDownTheme? theme,
- String label = '',
- String hint = '',
- required List getList(),
- required String getText(
- T
- bool isOpen = false,
- dynamic onChanged()?,
- Widget itemWidget(
- T
- BoxDecoration? slctItemDecoration,
- Color? slctItemIconColor,
- bool isRequired = false,
- required bool isSelected(
- T
- required void removeItem(
- T
- required void addItem(
- T
- Key? key,
Constructor allows you to define styling and value properties.
Implementation
AdeptMultiDropDown(
{AdeptDropDownTheme? theme,
this.label = '',
this.hint = '',
required this.getList,
required this.getText,
this.isOpen = false,
this.onChanged,
this.itemWidget,
this.slctItemDecoration,
this.slctItemIconColor,
this.isRequired = false,
required this.isSelected,
required this.removeItem,
required this.addItem,
super.key})
: theme = theme ?? AdeptDropDownTheme();