onAndroidShowCustomWidget property

(void Function(Widget child)?) onAndroidShowCustomWidget
final

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

final void Function(Widget child)? onAndroidShowCustomWidget;