pullToRefreshController property
PullToRefreshController?
get
pullToRefreshController
Represents the pull-to-refresh feature controller.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
Implementation
PullToRefreshController? get pullToRefreshController {
final pullToRefreshControllerPlatform = platform.pullToRefreshController;
if (pullToRefreshControllerPlatform == null) {
return null;
}
return PullToRefreshController.fromPlatform(
platform: pullToRefreshControllerPlatform);
}