onRequestFocus property
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebChromeClient.onRequestFocus', apiUrl: 'https://developer.android.com/reference/android/webkit/WebChromeClient#onRequestFocus(android.webkit.WebView)')])
final
Request display and focus for this WebView. This may happen due to another WebView opening a link in this WebView and requesting that this WebView be displayed.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebChromeClient.onRequestFocus)
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebChromeClient.onRequestFocus)
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebChromeClient.onRequestFocus',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebChromeClient#onRequestFocus(android.webkit.WebView)',
),
],
)
final void Function(T controller)? onRequestFocus;