onRefresh property
Event called when a swipe gesture triggers a refresh.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- Windows WebView2
Use the PlatformPullToRefreshControllerCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
void Function()? get onRefresh => params.onRefresh;