FTypeaheadController constructor

FTypeaheadController({
  1. required FTypeaheadControllerTextStyles textStyles,
  2. List<String> suggestions = const [],
  3. String? text,
})

Creates a FTypeaheadController with an optional initial text and completion.

Implementation

FTypeaheadController({required this._textStyles, this._suggestions = const [], super.text}) {
  findCompletion();
}