getThemeMode property

ThemeMode get getThemeMode

获取系统主题mode

Implementation

ThemeMode get getThemeMode {
  switch (themeModel) {
    case 0:
      return ThemeMode.system;
    case 1:
      return ThemeMode.light;
    case 2:
      return ThemeMode.dark;
  }
  return ThemeMode.system;
}