PrismChipInput constructor
- Key? key,
- required List<
String> value, - required ValueChanged<
List< onChanged,String> > - String? label,
- String? hint,
- String? helperText,
- String? errorText,
- List<
String> suggestions = const [], - int? maxChips,
- bool allowDuplicates = false,
- bool enabled = true,
- TextInputAction textInputAction = TextInputAction.done,
- Widget chipBuilder(
- BuildContext context,
- String label,
- VoidCallback remove
- String? validator(
- String value
- Set<
String> delimiters = const {',', '\n', ';'}, - IconData? leadingIcon,
Creates a chip input.
Implementation
const PrismChipInput({
super.key,
required this.value,
required this.onChanged,
this.label,
this.hint,
this.helperText,
this.errorText,
this.suggestions = const [],
this.maxChips,
this.allowDuplicates = false,
this.enabled = true,
this.textInputAction = TextInputAction.done,
this.chipBuilder,
this.validator,
this.delimiters = const {',', '\n', ';'},
this.leadingIcon,
});