setTheme static method

void setTheme()

Implementation

static void setTheme() {
  theme = AdminTheme(
      leftBarTheme: ThemeCustomizer.instance.theme == ThemeMode.dark
          ? LeftBarTheme.darkLeftBarTheme
          : LeftBarTheme.lightLeftBarTheme,
      topBarTheme: ThemeCustomizer.instance.theme == ThemeMode.dark
          ? TopBarTheme.darkTopBarTheme
          : TopBarTheme.lightTopBarTheme,
      rightBarTheme: ThemeCustomizer.instance.theme == ThemeMode.dark
          ? RightBarTheme.darkRightBarTheme
          : RightBarTheme.lightRightBarTheme,
      contentTheme: ThemeCustomizer.instance.theme == ThemeMode.dark
          ? ContentTheme.darkContentTheme
          : ContentTheme.lightContentTheme);
}