AndroidWebViewFeature class Null safety

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. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
const AndroidWebViewFeature._internal("CREATE_WEB_MESSAGE_CHANNEL")
DISABLED_ACTION_MODE_MENU_ITEMS → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("DISABLED_ACTION_MODE_MENU_ITEMS")
FORCE_DARK → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("FORCE_DARK")
FORCE_DARK_STRATEGY → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("FORCE_DARK_STRATEGY")
GET_WEB_CHROME_CLIENT → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("GET_WEB_CHROME_CLIENT")
GET_WEB_VIEW_CLIENT → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("GET_WEB_VIEW_CLIENT")
GET_WEB_VIEW_RENDERER → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("GET_WEB_VIEW_RENDERER")
MULTI_PROCESS → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("MULTI_PROCESS")
OFF_SCREEN_PRERASTER → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("OFF_SCREEN_PRERASTER")
POST_WEB_MESSAGE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("POST_WEB_MESSAGE")
PROXY_OVERRIDE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("PROXY_OVERRIDE")
RECEIVE_HTTP_ERROR → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("RECEIVE_HTTP_ERROR")
RECEIVE_WEB_RESOURCE_ERROR → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("RECEIVE_WEB_RESOURCE_ERROR")
SAFE_BROWSING_ALLOWLIST → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_ALLOWLIST")
SAFE_BROWSING_ENABLE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_ENABLE")
SAFE_BROWSING_HIT → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_HIT")
SAFE_BROWSING_PRIVACY_POLICY_URL → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_PRIVACY_POLICY_URL")
SAFE_BROWSING_RESPONSE_BACK_TO_SAFETY → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_RESPONSE_BACK_TO_SAFETY")
SAFE_BROWSING_RESPONSE_PROCEED → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_RESPONSE_PROCEED")
SAFE_BROWSING_RESPONSE_SHOW_INTERSTITIAL → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SAFE_BROWSING_RESPONSE_SHOW_INTERSTITIAL")
SAFE_BROWSING_WHITELIST → const AndroidWebViewFeature
Use SAFE_BROWSING_ALLOWLIST instead.
@Deprecated('Use `SAFE_BROWSING_ALLOWLIST` instead')
const AndroidWebViewFeature._internal("SAFE_BROWSING_WHITELIST")
SERVICE_WORKER_BASIC_USAGE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SERVICE_WORKER_BASIC_USAGE")
SERVICE_WORKER_BLOCK_NETWORK_LOADS → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SERVICE_WORKER_BLOCK_NETWORK_LOADS")
SERVICE_WORKER_CACHE_MODE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SERVICE_WORKER_CACHE_MODE")
SERVICE_WORKER_CONTENT_ACCESS → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SERVICE_WORKER_CONTENT_ACCESS")
SERVICE_WORKER_FILE_ACCESS → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SERVICE_WORKER_FILE_ACCESS")
SERVICE_WORKER_SHOULD_INTERCEPT_REQUEST → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SERVICE_WORKER_SHOULD_INTERCEPT_REQUEST")
SHOULD_OVERRIDE_WITH_REDIRECTS → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("SHOULD_OVERRIDE_WITH_REDIRECTS")
START_SAFE_BROWSING → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("START_SAFE_BROWSING")
TRACING_CONTROLLER_BASIC_USAGE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("TRACING_CONTROLLER_BASIC_USAGE")
VISUAL_STATE_CALLBACK → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("VISUAL_STATE_CALLBACK")
WEB_MESSAGE_CALLBACK_ON_MESSAGE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_MESSAGE_CALLBACK_ON_MESSAGE")
WEB_MESSAGE_LISTENER → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_MESSAGE_LISTENER")
WEB_MESSAGE_PORT_CLOSE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_MESSAGE_PORT_CLOSE")
WEB_MESSAGE_PORT_POST_MESSAGE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_MESSAGE_PORT_POST_MESSAGE")
WEB_MESSAGE_PORT_SET_MESSAGE_CALLBACK → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_MESSAGE_PORT_SET_MESSAGE_CALLBACK")
WEB_RESOURCE_ERROR_GET_CODE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_RESOURCE_ERROR_GET_CODE")
WEB_RESOURCE_ERROR_GET_DESCRIPTION → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_RESOURCE_ERROR_GET_DESCRIPTION")
WEB_RESOURCE_REQUEST_IS_REDIRECT → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_RESOURCE_REQUEST_IS_REDIRECT")
WEB_VIEW_RENDERER_CLIENT_BASIC_USAGE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_VIEW_RENDERER_CLIENT_BASIC_USAGE")
WEB_VIEW_RENDERER_TERMINATE → const AndroidWebViewFeature
const AndroidWebViewFeature._internal("WEB_VIEW_RENDERER_TERMINATE")