fieldViewBuilder property

Widget Function(BuildContext context, PerfectTextController textController, VoidCallback onFieldSubmitted) fieldViewBuilder
final

Builds the field whose input is used to get the options.

Pass the provided TextEditingController to the field built here so that RawAutocomplete can listen for changes.

If not provided, will build a standard Material-style text field by default.

Implementation

final Widget Function(
  BuildContext context,
  PerfectTextController textController,
  VoidCallback onFieldSubmitted,
) fieldViewBuilder;