clearFormData method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebView.clearFormData', apiUrl: 'https://developer.android.com/reference/android/webkit/WebView#clearFormData()')])
Future<void> clearFormData()

Removes the autocomplete popup from the currently focused form field, if present. Note this only affects the display of the autocomplete popup, it does not remove any saved form data from this WebView's store.

Officially Supported Platforms/Implementations:

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

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebView.clearFormData',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebView#clearFormData()',
    ),
  ],
)
Future<void> clearFormData() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.clearFormData.name} is not implemented on the current platform',
  );
}