ChipMultiSelectField<T> constructor

const ChipMultiSelectField<T>({
  1. Key? key,
  2. required String label,
  3. List<Choice<T>> data()?,
  4. void onSelect(
    1. List<Choice<T>> choiceList,
    2. bool isFromDefaultData
    )?,
  5. List<Choice<T>>? defaultData,
  6. Widget? menuContent,
  7. Widget? menuHeader,
  8. Widget? menuFooter,
  9. ChipStyle? chipStyle,
  10. ChipMenuStyle? menuStyle,
  11. VoidCallback? onMenuOpened,
  12. VoidCallback? onMenuClosed,
  13. bool enabled = true,
  14. Widget? leading,
  15. Widget? trailing,
  16. bool showDropdownIcon = true,
  17. bool singleSelection = false,
  18. bool selectAllOption = false,
  19. MenuController? controller,
  20. TextStyle? titleMenuStyle,
  21. TextStyle? itemMenuStyle,
  22. EdgeInsetsGeometry? titleMenuPadding,
  23. 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();