webViewOnAndroidShowCustomWidget property

(void Function(Widget widget)?) webViewOnAndroidShowCustomWidget
inherited

Sets the callback that is invoked when the host application wants to show a custom widget. The most common use case this method is invoked a video element wants to be displayed in fullscreen.

Default: push a page route with the webview in fullscreen.

Implementation

void Function(Widget widget)? get webViewOnAndroidShowCustomWidget => null;