resolveWith static method
The most flexible state property that allows for dynamically resolving the builder function based on the state of the scroll view.
Implementation
static EndlessStateProperty resolveWith(
StatefulWidgetResolver<EndlessState> builder) =>
EndlessStateProperty(
(BuildContext context) =>
StateProperty.resolveWith<EndlessState, Widget?>(
(states) => builder(context, states)),
);