suggestionsErrorBuilder property

ErrorBuilder? suggestionsErrorBuilder
final

Called when TextFieldBlocState.suggestions throws an exception.

It is called with the error object, and expected to return a widget to display when an exception is thrown For example:

(BuildContext context, error) {
  return Text('$error');
}

If not specified, the error is shown in ThemeData.errorColor

Implementation

final ErrorBuilder? suggestionsErrorBuilder;