USER_AGENT_DARKENING_ONLY constant

ForceDarkStrategy const USER_AGENT_DARKENING_ONLY

In this mode WebView content will be darkened by a user agent and it will ignore the web page's dark theme if it exists. To avoid mixing two different darkening strategies, the prefers-color-scheme media query will evaluate to light.

See specification for more information.

Implementation

static const USER_AGENT_DARKENING_ONLY = ForceDarkStrategy._internal(0, 0);