onTitleChanged method
- String? title
override
Event fired when a change in the document title occurred.
title represents the string containing the new title of the document.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebChromeClient.onReceivedTitle)
- iOS WKWebView
- macOS WKWebView
- Windows WebView2 (Official API - ICoreWebView2.add_DocumentTitleChanged)
Parameters - Officially Supported Platforms/Implementations:
title: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@override
void onTitleChanged(String? title) {}