onRefresh property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), WindowsPlatform()])
void Function()? onRefresh
final

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

@SupportedPlatforms(
  platforms: [AndroidPlatform(), IOSPlatform(), WindowsPlatform()],
)
final void Function()? onRefresh;