errorBuilder property
Called when suggestionsCallback 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');
}
Implementation
final ErrorBuilder? errorBuilder;