FAutocompleteController.fromValue constructor
FAutocompleteController.fromValue(
- TextEditingValue? value, {
- List<
String> suggestions = const [],
Creates a FAutocompleteController from a TextEditingValue.
Implementation
FAutocompleteController.fromValue(super.value, {super.suggestions = const []})
: super.fromValue(
textStyles: (context) {
final InheritedAutocompleteStyle(:style, :states) = .of(context);
return (
style.fieldStyle.contentTextStyle.resolve(states),
style.composingTextStyle.resolve(states),
style.typeaheadTextStyle.resolve(states),
);
},
);