NiceTagBox<T> constructor

const NiceTagBox<T>({
  1. Key? key,
  2. required List<T> items,
  3. required List<T> selectedValues,
  4. required String itemLabel(
    1. T item
    ),
  5. required ValueChanged<List<T>> onChanged,
  6. String? label,
  7. String? hint,
  8. String? errorText,
  9. bool enabled = true,
  10. bool allowCustom = false,
  11. int? maxTags,
  12. Color? chipColor,
})

Implementation

const NiceTagBox({
  super.key,
  required this.items,
  required this.selectedValues,
  required this.itemLabel,
  required this.onChanged,
  this.label,
  this.hint,
  this.errorText,
  this.enabled = true,
  this.allowCustom = false,
  this.maxTags,
  this.chipColor,
});