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