NestedMultiselectDropdown constructor
const
NestedMultiselectDropdown({
- Key? key,
- required List<
NestedMultiselectDropdownItem> options, - required NestedMultiselectDropdownController controller,
- EdgeInsets paddingSelectedItems = const EdgeInsets.all(8),
- double heightDropdownContainer = 50,
- double heightDropdownContainerDefault = 200,
- String noItemsText = 'No Items Selected...',
- TextStyle? noItemsTextStyle,
- dynamic onChange()?,
- bool isExpanded = false,
- Colors? activeColor,
- Colors? checkColor,
- bool hasFilter = false,
Implementation
const NestedMultiselectDropdown({
super.key,
required this.options,
required this.controller,
this.paddingSelectedItems = const EdgeInsets.all(8),
this.heightDropdownContainer = 50,
this.heightDropdownContainerDefault = 200,
this.noItemsText = 'No Items Selected...',
this.noItemsTextStyle,
this.onChange,
this.isExpanded = false,
this.activeColor,
this.checkColor,
this.hasFilter = false,
});