activeTheme property
Theme
get
activeTheme
The current tiki_theme.Theme that will be used in the prebuilt UIs.
Implementation
tiki_theme.Theme get activeTheme {
var brightness =
SchedulerBinding.instance.platformDispatcher.platformBrightness;
return brightness == Brightness.dark && _dark != null ? dark : theme;
}