FAutocompleteController.fromValue constructor

FAutocompleteController.fromValue(
  1. TextEditingValue? value, {
  2. List<String> suggestions = const [],
})

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),
        );
      },
    );