emptyBuilder property
Custom builder for the empty state (when no items match the search). Receives the current search query. If null, a default "No matches" text is shown.
Implementation
final Widget Function(String searchQuery)? emptyBuilder;
Custom builder for the empty state (when no items match the search). Receives the current search query. If null, a default "No matches" text is shown.
final Widget Function(String searchQuery)? emptyBuilder;