FTypeaheadController constructor
FTypeaheadController({})
Creates a FTypeaheadController with an optional initial text and completion.
Implementation
FTypeaheadController({
required (TextStyle textStyle, TextStyle composingStyle, TextStyle completionStyle) Function(BuildContext)
textStyles,
List<String> suggestions = const [],
super.text,
}) : _textStyles = textStyles,
_suggestions = suggestions {
findCompletion();
}