useDark property
bool
useDark
Implementation
bool get useDark =>
darkTheme != null &&
( //forced to use DARK by user
themeType == GlowThemeType.dark ||
//The setting indicating the current brightness mode of the host platform.
// If the platform has no preference, platformBrightness defaults to Brightness.light.
window.platformBrightness == Brightness.dark);