ChipMultiSelectField<T> constructor
const
ChipMultiSelectField<T> ({
- Key? key,
- required String label,
- List<
Choice< data()?,T> > - void onSelect()?,
- List<
Choice< ? defaultData,T> > - ChipStyle? chipStyle,
- VoidCallback? onMenuOpened,
- VoidCallback? onMenuClosed,
- bool enabled = true,
- Widget? leading,
- Widget? trailing,
- bool showDropdownIcon = true,
- bool singleSelection = false,
- bool selectAllOption = false,
- MenuController? controller,
- TextStyle? titleMenuStyle,
- TextStyle? itemMenuStyle,
- EdgeInsetsGeometry? titleMenuPadding,
- ChipSize? chipSize,
Implementation
const ChipMultiSelectField({
super.key,
required this.label,
this.data,
this.onSelect,
this.defaultData,
this.menuContent,
this.menuHeader,
this.menuFooter,
this.chipStyle,
this.menuStyle,
this.onMenuOpened,
this.onMenuClosed,
this.enabled = true,
this.leading,
this.trailing,
this.showDropdownIcon = true,
this.singleSelection = false,
this.selectAllOption = false,
this.controller,
this.titleMenuStyle,
this.itemMenuStyle,
this.titleMenuPadding,
this.chipSize,
}) : super.internal();