willClear static method
Resolves the given builder if the scroll view will clear its current items on next load.
Implementation
static EndlessStateProperty willClear(StatelessWidgetResolver builder) =>
EndlessStateProperty(
(BuildContext context) =>
StateProperty.resolveState<EndlessState, Widget?>(
() => builder(context),
EndlessState.willClear,
),
);