DrawerMultiSelectField<T> constructor
const
DrawerMultiSelectField<T> ({
- Key? key,
- required String label,
- List<
Choice< data()?,T> > - void onSelect()?,
- void onChanged()?,
- List<
Choice< ? defaultData,T> > - DrawerStyle? drawerStyle,
- String? keyDrawer,
- GlobalKey<
ScaffoldState> ? scaffoldKey, - VoidCallback? onOpened,
- VoidCallback? onClosed,
- bool enabled = true,
- Widget? child,
- bool singleSelection = false,
- bool selectAllOption = false,
- bool useTextFilter = false,
- bool closeOnSelect = false,
- TextStyle? titleMenuStyle,
- TextStyle? itemMenuStyle,
- EdgeInsetsGeometry? titleMenuPadding,
Implementation
const DrawerMultiSelectField({
super.key,
required this.label,
this.data,
this.onSelect,
this.onChanged,
this.defaultData,
this.menuContent,
this.menuHeader,
this.menuFooter,
this.drawerStyle,
this.keyDrawer,
this.scaffoldKey,
this.onOpened,
this.onClosed,
this.enabled = true,
this.child,
this.singleSelection = false,
this.selectAllOption = false,
this.useTextFilter = false,
this.closeOnSelect = false,
this.titleMenuStyle,
this.itemMenuStyle,
this.titleMenuPadding,
}) : super.internal();