AndroidWebViewFeature class

Class that represents an Android-specific utility class for checking which WebView Support Library features are supported on the device.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toValue() String

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<AndroidWebViewFeature>
final

Static Methods

fromValue(String? value) AndroidWebViewFeature?
isFeatureSupported(AndroidWebViewFeature feature) Future<bool>
Return whether a feature is supported at run-time. On devices running Android version Build.VERSION_CODES.LOLLIPOP and higher, this will check whether a feature is supported, depending on the combination of the desired feature, the Android version of device, and the WebView APK on the device. If running on a device with a lower API level, this will always return false.

Constants

CREATE_WEB_MESSAGE_CHANNEL → const AndroidWebViewFeature
DISABLED_ACTION_MODE_MENU_ITEMS → const AndroidWebViewFeature
FORCE_DARK → const AndroidWebViewFeature
FORCE_DARK_STRATEGY → const AndroidWebViewFeature
GET_WEB_CHROME_CLIENT → const AndroidWebViewFeature
GET_WEB_VIEW_CLIENT → const AndroidWebViewFeature
GET_WEB_VIEW_RENDERER → const AndroidWebViewFeature
MULTI_PROCESS → const AndroidWebViewFeature
OFF_SCREEN_PRERASTER → const AndroidWebViewFeature
POST_WEB_MESSAGE → const AndroidWebViewFeature
PROXY_OVERRIDE → const AndroidWebViewFeature
RECEIVE_HTTP_ERROR → const AndroidWebViewFeature
RECEIVE_WEB_RESOURCE_ERROR → const AndroidWebViewFeature
SAFE_BROWSING_ALLOWLIST → const AndroidWebViewFeature
SAFE_BROWSING_ENABLE → const AndroidWebViewFeature
SAFE_BROWSING_HIT → const AndroidWebViewFeature
SAFE_BROWSING_PRIVACY_POLICY_URL → const AndroidWebViewFeature
SAFE_BROWSING_RESPONSE_BACK_TO_SAFETY → const AndroidWebViewFeature
SAFE_BROWSING_RESPONSE_PROCEED → const AndroidWebViewFeature
SAFE_BROWSING_RESPONSE_SHOW_INTERSTITIAL → const AndroidWebViewFeature
SAFE_BROWSING_WHITELIST → const AndroidWebViewFeature
Use SAFE_BROWSING_ALLOWLIST instead.
SERVICE_WORKER_BASIC_USAGE → const AndroidWebViewFeature
SERVICE_WORKER_BLOCK_NETWORK_LOADS → const AndroidWebViewFeature
SERVICE_WORKER_CACHE_MODE → const AndroidWebViewFeature
SERVICE_WORKER_CONTENT_ACCESS → const AndroidWebViewFeature
SERVICE_WORKER_FILE_ACCESS → const AndroidWebViewFeature
SERVICE_WORKER_SHOULD_INTERCEPT_REQUEST → const AndroidWebViewFeature
SHOULD_OVERRIDE_WITH_REDIRECTS → const AndroidWebViewFeature
START_SAFE_BROWSING → const AndroidWebViewFeature
TRACING_CONTROLLER_BASIC_USAGE → const AndroidWebViewFeature
VISUAL_STATE_CALLBACK → const AndroidWebViewFeature
WEB_MESSAGE_CALLBACK_ON_MESSAGE → const AndroidWebViewFeature
WEB_MESSAGE_LISTENER → const AndroidWebViewFeature
WEB_MESSAGE_PORT_CLOSE → const AndroidWebViewFeature
WEB_MESSAGE_PORT_POST_MESSAGE → const AndroidWebViewFeature
WEB_MESSAGE_PORT_SET_MESSAGE_CALLBACK → const AndroidWebViewFeature
WEB_RESOURCE_ERROR_GET_CODE → const AndroidWebViewFeature
WEB_RESOURCE_ERROR_GET_DESCRIPTION → const AndroidWebViewFeature
WEB_RESOURCE_REQUEST_IS_REDIRECT → const AndroidWebViewFeature
WEB_VIEW_RENDERER_CLIENT_BASIC_USAGE → const AndroidWebViewFeature
WEB_VIEW_RENDERER_TERMINATE → const AndroidWebViewFeature