onWindowFocus property
void Function(T controller)?
onWindowFocus
final
Event fired when the JavaScript window
object of the WebView has received focus.
This is the result of the focus
JavaScript event applied to the window
object.
NOTE for Web: this event will be called only if the iframe has the same origin.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Web (Official API - Window.onfocus)
Implementation
final void Function(T controller)? onWindowFocus;