getSystemThemeName function
Get the current terminal theme.
Implementation
SystemTheme getSystemThemeName() {
_cachedSystemTheme ??= _detectFromColorFgBg() ?? SystemTheme.dark;
return _cachedSystemTheme!;
}
Get the current terminal theme.
SystemTheme getSystemThemeName() {
_cachedSystemTheme ??= _detectFromColorFgBg() ?? SystemTheme.dark;
return _cachedSystemTheme!;
}