onReceivedIcon method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebChromeClient.onReceivedIcon', apiUrl: 'https://developer.android.com/reference/android/webkit/WebChromeClient#onReceivedIcon(android.webkit.WebView,%20android.graphics.Bitmap)')])
- @Deprecated('Use onFaviconChanged instead')
- Uint8List icon
Event fired when there is new favicon for the current page.
icon represents the favicon for the current page.
Deprecated: use onFaviconChanged instead.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebChromeClient.onReceivedIcon)
Parameters - Officially Supported Platforms/Implementations:
icon: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebChromeClient.onReceivedIcon',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebChromeClient#onReceivedIcon(android.webkit.WebView,%20android.graphics.Bitmap)',
),
],
)
@Deprecated('Use onFaviconChanged instead')
void onReceivedIcon(Uint8List icon) {}