MultiSelect<T> constructor

const MultiSelect<T>({
  1. Key? key,
  2. required List<DropdownItem<T>> items,
  3. List<T> selected = const <Never>[],
  4. String? label,
  5. String? hint,
  6. IconData? icon,
  7. String? validator(
    1. List<T>?
    )?,
  8. ValueChanged<List<T>>? onChanged,
  9. bool enabled = true,
  10. double borderRadius = AppRadius.medium,
  11. int? maxSelected,
})

Implementation

const MultiSelect({
  super.key,
  required this.items,
  this.selected = const <Never>[],
  this.label,
  this.hint,
  this.icon,
  this.validator,
  this.onChanged,
  this.enabled = true,
  this.borderRadius = AppRadius.medium,
  this.maxSelected,
});