CustomMultiSelectField<T> constructor

CustomMultiSelectField<T>({
  1. Key? key,
  2. required List<T> items,
  3. required String title,
  4. required void onSelectionDone(
    1. List<T>
    )?,
  5. double? width,
  6. InputDecoration? decoration,
  7. String? validator(
    1. List<T>
    )?,
  8. List<T>? initialValue,
  9. String itemAsString(
    1. dynamic T
    )?,
  10. Color selectedItemColor = Colors.redAccent,
  11. bool enableAllOptionSelect = false,
})

Implementation

CustomMultiSelectField({
  Key? key,
  required this.items,
  required this.title,
  required this.onSelectionDone,
  this.width,
  this.decoration,
  this.validator,
  this.initialValue,
  this.itemAsString,
  this.selectedItemColor = Colors.redAccent,
  this.enableAllOptionSelect= false,
}): super(key: key);