IOSPullToRefreshControllerCreationParams.fromPlatformPullToRefreshControllerCreationParams constructor
IOSPullToRefreshControllerCreationParams.fromPlatformPullToRefreshControllerCreationParams(
- PlatformPullToRefreshControllerCreationParams params
Creates a IOSPullToRefreshControllerCreationParams instance based on PlatformPullToRefreshControllerCreationParams.
Implementation
factory IOSPullToRefreshControllerCreationParams.fromPlatformPullToRefreshControllerCreationParams(
// Recommended placeholder to prevent being broken by platform interface.
// ignore: avoid_unused_constructor_parameters
PlatformPullToRefreshControllerCreationParams params,
) {
return IOSPullToRefreshControllerCreationParams(
onRefresh: params.onRefresh,
options: params.options,
settings: params.settings,
);
}