FTypeaheadController constructor
FTypeaheadController({
- required FTypeaheadControllerTextStyles textStyles,
- List<
String> suggestions = const [], - String? text,
Creates a FTypeaheadController with an optional initial text and completion.
Implementation
FTypeaheadController({
required FTypeaheadControllerTextStyles textStyles,
List<String> suggestions = const [],
super.text,
}) : _textStyles = textStyles,
_suggestions = suggestions {
findCompletion();
}