Packagecom.distriqt.extension.application.display
Classpublic class UserInterfaceStyle
InheritanceUserInterfaceStyle Inheritance Object

Defines the available user interface styles for the Display.userInterfaceStyle property

See also

Display.userInterfaceStyle


Public Constants
 ConstantDefined 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
Constant Detail
DARKConstant
public static const DARK:String = dark

Dark mode is enabled and the application should render with a dark background and light text

LIGHTConstant 
public static const LIGHT:String = light

Dark mode is disabled and the application should render with the default light background and dark text

UNSPECIFIEDConstant 
public static const UNSPECIFIED:String = unspecified

The value is unspecified. Normally suggest using the light style in this case.