ChipsField<T> constructor

  1. @override
const ChipsField<T>({
  1. Key? key,
  2. String? labelText,
  3. List<String>? items,
  4. required ValueChanged<List<T>> onChanged,
  5. InputChip chipBuilder(
    1. BuildContext context
    )?,
  6. FutureOr<List<T>> suggestionsCallback(
    1. String value
    )?,
  7. bool autofocus = false,
})

Implementation

@override
const ChipsField(
    {super.key,
    this.labelText,
    this.items,
    required this.onChanged,
    this.chipBuilder,
    this.suggestionsCallback,
    this.autofocus = false});