ChoiceChips2<T> constructor

const ChoiceChips2<T>({
  1. required List<T> items,
  2. required String labelBuilder(
    1. T item
    ),
  3. String labelHelp(
    1. T item
    )?,
  4. List<T>? initialSelection,
  5. bool multiSelect = false,
  6. ChoiceChips2Controller<T>? controller,
  7. Key? key,
  8. void onSelectionChanged(
    1. List<T> currentSelection
    )?,
  9. Color? selectedColor,
  10. Color? selectedFgColor,
  11. bool showCheckmark = true,
  12. BorderRadiusGeometry? borderRadius,
  13. Color? fgColor,
  14. Color? color,
  15. EdgeInsetsGeometry? chipPadding,
})

Implementation

const ChoiceChips2({
  required this.items,
  required this.labelBuilder,
  this.labelHelp,
  this.initialSelection,
  this.multiSelect = false,
  this.controller,
  super.key,
  this.onSelectionChanged,
  this.selectedColor,
  this.selectedFgColor,
  this.showCheckmark = true,
  this.borderRadius,
  this.fgColor,
  this.color,
  this.chipPadding,
});