onFaviconChanged method
Event fired when the favicon for the current page changes.
faviconChangedRequest contains the favicon URL and/or icon bytes, if available.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebChromeClient.onReceivedIcon)
- Windows WebView2 (Official API - ICoreWebView2_15.add_FaviconChanged)
Parameters - Officially Supported Platforms/Implementations:
faviconChangedRequest: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@override
void onFaviconChanged(FaviconChangedRequest faviconChangedRequest) {}