dispose method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), WindowsPlatform()])
- @override
- bool isKeepAlive = false,
override
Disposes the controller.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- Windows WebView2
Parameters - Officially Supported Platforms/Implementations:
isKeepAlive: all platforms
Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [AndroidPlatform(), IOSPlatform(), WindowsPlatform()],
)
@override
void dispose({bool isKeepAlive = false}) {
throw UnimplementedError(
'dispose is not implemented on the current platform',
);
}