dispose method

void dispose({
  1. bool isKeepAlive = false,
})

Disposes the controller.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Linux WPE WebKit
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • isKeepAlive: all platforms

Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.

Implementation

void dispose({bool isKeepAlive = false}) => platform.dispose();