forceDarkStrategy property

ForceDarkStrategy? forceDarkStrategy
getter/setter pair

Sets whether Geolocation API is enabled. The default value is true. Set how WebView content should be darkened. The default value is ForceDarkStrategy.PREFER_WEB_THEME_OVER_USER_AGENT_DARKENING.

NOTE for Android native WebView: it will take effect only if WebViewFeature.isFeatureSupported returns true for WebViewFeature.FORCE_DARK_STRATEGY.

Officially Supported Platforms/Implementations:

Implementation

ForceDarkStrategy? forceDarkStrategy;