emptyBuilder property

Widget Function(String searchQuery)? emptyBuilder
final

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;