getSystemThemeName function

SystemTheme getSystemThemeName()

Get the current terminal theme.

Implementation

SystemTheme getSystemThemeName() {
  _cachedSystemTheme ??= _detectFromColorFgBg() ?? SystemTheme.dark;
  return _cachedSystemTheme!;
}