PlatformPullToRefreshControllerCreationParams constructor

PlatformPullToRefreshControllerCreationParams({
  1. @Deprecated("Use settings instead") PullToRefreshOptions? options,
  2. PullToRefreshSettings? settings,
  3. void onRefresh()?,
})

Used by the platform implementation to create a new PlatformPullToRefreshController.

Implementation

PlatformPullToRefreshControllerCreationParams(
    {@Deprecated("Use settings instead") PullToRefreshOptions? options,
    PullToRefreshSettings? settings,
    this.onRefresh})
    : this.options = options ?? PullToRefreshOptions(),
      this.settings = settings ?? PullToRefreshSettings();