onTitleChanged property
Event fired when a change in the document title occurred.
title
represents the string containing the new title of the document.
NOTE for Web: this event will be called only if the iframe has the same origin.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebChromeClient.onReceivedTitle)
- iOS
- MacOS
- Web
- Windows (Official API - ICoreWebView2.add_DocumentTitleChanged)
Implementation
final void Function(T controller, String? title)? onTitleChanged;