flutter_chips_input library

Classes

ChipAutofillScope
ChipsInput<T>
ChipsInputController<T>
Controls the chips input, allows for fine-grained control of various aspects
ChipsInputItemWidget<T>
ChipsInputState<T>
ChipsInputText
ChipSuggestions<T>
QueryText
Holds query text and suggestions
Suggestion<T>

Constants

defaultDebugLabel → const String
kObjectReplacementChar → const int

Typedefs

BuildChipsWidget<T> = Widget Function(BuildContext context, ChipsInputController<T>? controller, int index, T data)
Builds a widget for a chip. Used for autocomplete and chips
ChipAction<T> = void Function(T? chip)
Generic action performed on a chip
ChipIdentifier<T> = String Function(T input)
ChipsChanged<T> = void Function(ChipsInputController<T>? controller, ChipChangeOperation operation)
Simple callback for query changing.
ChipTokenizer<T> = Iterable<String> Function(T input)
Tokenizes a chip to help provide inline completion
GenerateSuggestions<T> = FutureOr<ChipSuggestions<T>> Function(String query)
Generates a list of suggestions given a query
OnLostFocus<T> = void Function(ChipsInputController<T>? controller)
Simple callback for query changing.
PerformTextInputAction<T> = void Function(TextInputAction type)
An action that's executed when the user clicks the keyboard action
QueryChanged<T> = void Function(String? query, ChipsInputController<T>? controller)
Simple callback for query changing.