onCloseWindow property

void Function(T controller)? onCloseWindow
final

Event fired when the host application should close the given WebView and remove it from the view system if necessary. At this point, WebCore has stopped any loading in this window and has removed any cross-scripting ability in javascript.

Officially Supported Platforms/Implementations:

Implementation

final void Function(T controller)? onCloseWindow;