done static method

PaginatedSearchBarBuilderStateProperty done(
  1. StatelessWidgetResolver builder
)

Resolves the given builder if the scroll view is currently in the done state.

Implementation

static PaginatedSearchBarBuilderStateProperty done(
        StatelessWidgetResolver builder) =>
    PaginatedSearchBarBuilderStateProperty(
      (BuildContext context) =>
          StateProperty.resolveState<PaginatedSearchBarState, Widget>(
        () => builder(context),
        PaginatedSearchBarState.done,
      ),
    );