FAutocompleteController constructor
Creates a FAutocompleteController with an optional initial text and suggestions.
Implementation
FAutocompleteController({super.text, super.suggestions})
: super(
textStyles: (context) {
final InheritedAutocompleteStyle(:style, :states) = .of(context);
return (
style.fieldStyle.contentTextStyle.resolve(states),
style.composingTextStyle.resolve(states),
style.typeaheadTextStyle.resolve(states),
);
},
);