NiceTagBox<T> constructor
const
NiceTagBox<T>({ - Key? key,
- required List<T> items,
- required List<T> selectedValues,
- required String itemLabel(
- T item
),
- required ValueChanged<List<T>> onChanged,
- String? label,
- String? hint,
- String? errorText,
- bool enabled = true,
- bool allowCustom = false,
- int? maxTags,
- 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,
});