themeMode property
ThemeMode
get
themeMode
Returns the active theme mode for this context.
Defaults to ThemeMode.system if no NakiThemeProvider ancestor is found.
Implementation
ThemeMode get themeMode =>
NakiThemeProvider.of(this)?.mode ?? ThemeMode.system;