loadingBuilder property Null safety

WidgetBuilder? loadingBuilder
final

Called when waiting for suggestionsCallback to return.

It is expected to return a widget to display while waiting. For example:

(BuildContext context) {
  return Text('Loading...');
}

If not specified, a CircularProgressIndicator is shown

Implementation

final WidgetBuilder? loadingBuilder;