onFormResubmission property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebViewClient.onFormResubmission', apiUrl: 'https://developer.android.com/reference/android/webkit/WebViewClient#onFormResubmission(android.webkit.WebView,%20android.os.Message,%20android.os.Message)')])
FutureOr<FormResubmissionAction?> Function(T controller, WebUri? url)? onFormResubmission
final

As the host application if the browser should resend data as the requested page was a result of a POST. The default is to not resend the data.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebViewClient.onFormResubmission',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebViewClient#onFormResubmission(android.webkit.WebView,%20android.os.Message,%20android.os.Message)',
    ),
  ],
)
final FutureOr<FormResubmissionAction?> Function(T controller, WebUri? url)?
onFormResubmission;