loading static method
Resolves the given builder if the scroll view is currently in the searching state.
Implementation
static PaginatedSearchBarBuilderStateProperty loading(
StatelessWidgetResolver builder) =>
PaginatedSearchBarBuilderStateProperty(
(BuildContext context) =>
StateProperty.resolveState<PaginatedSearchBarState, Widget>(
() => builder(context),
PaginatedSearchBarState.loading,
),
);