empty static method
Resolves the given builder if the scroll view is currently in the empty state.
Implementation
static EndlessStateProperty empty(StatelessWidgetResolver builder) =>
EndlessStateProperty(
(BuildContext context) =>
StateProperty.resolveState<EndlessState, Widget?>(
() => builder(context),
EndlessState.empty,
),
);