onPermissionRequestCanceled property

void Function(T controller, PermissionRequest permissionRequest)? onPermissionRequestCanceled
final

Notify the host application that the given permission request has been canceled. Any related UI should therefore be hidden.

permissionRequest represents the permission request that needs be canceled with an array of resources the web content wants to access and the origin of the web page which is trying to access the restricted resources.

NOTE for Android: available only on Android 21+.

Officially Supported Platforms/Implementations:

Implementation

final void Function(T controller, PermissionRequest permissionRequest)?
    onPermissionRequestCanceled;