onWindowOpen property

Stream<WindowOpenEvent> get onWindowOpen

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Implementation

Stream<WindowOpenEvent> get onWindowOpen => _client.onEvent
    .where((event) => event.name == 'Page.windowOpen')
    .map((event) => WindowOpenEvent.fromJson(event.parameters));