resolveWith static method

EndlessStateProperty resolveWith(
  1. StatefulWidgetResolver<EndlessState> builder
)

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)),
    );