InlineSuggestionTextField<T> constructor
const
InlineSuggestionTextField<T> ({
- Key? key,
- required List<
FluentAutoSuggestBoxItem< items,T> > - TextEditingController? controller,
- FocusNode? focusNode,
- InlineSuggestionConfig config = const InlineSuggestionConfig(),
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - void onSuggestionAccepted(
- FluentAutoSuggestBoxItem<
T> item
- FluentAutoSuggestBoxItem<
- FluentAutoSuggestBoxItem<
T> ? suggestionMatcher(- String text,
- List<
FluentAutoSuggestBoxItem< itemsT> >
- InputDecoration? decoration,
- TextStyle? style,
- bool enabled = true,
- bool autofocus = false,
- TextInputAction? textInputAction,
- TextInputType? keyboardType,
Implementation
const InlineSuggestionTextField({
super.key,
required this.items,
this.controller,
this.focusNode,
this.config = const InlineSuggestionConfig(),
this.onChanged,
this.onSubmitted,
this.onSuggestionAccepted,
this.suggestionMatcher,
this.decoration,
this.style,
this.enabled = true,
this.autofocus = false,
this.textInputAction,
this.keyboardType,
});