Package | com.distriqt.extension.application.display |
Class | public class UserInterfaceStyle |
Inheritance | UserInterfaceStyle ![]() |
Display.userInterfaceStyle
property
See also
Constant | Defined By | ||
---|---|---|---|
DARK : String = dark [static]
Dark mode is enabled and the application should render with a dark background and light text
| UserInterfaceStyle | ||
LIGHT : String = light [static]
Dark mode is disabled and the application should render with the default light background and dark text
| UserInterfaceStyle | ||
UNSPECIFIED : String = unspecified [static]
The value is unspecified. | UserInterfaceStyle |
DARK | Constant |
public static const DARK:String = dark
Dark mode is enabled and the application should render with a dark background and light text
LIGHT | Constant |
public static const LIGHT:String = light
Dark mode is disabled and the application should render with the default light background and dark text
UNSPECIFIED | Constant |
public static const UNSPECIFIED:String = unspecified
The value is unspecified. Normally suggest using the light style in this case.