darkTheme property

ThemeData darkTheme
getter/setter pair

Implementation

static ThemeData darkTheme = ThemeData(
  scaffoldBackgroundColor: darkBG,
  primaryColor: Colors.white,
  bottomAppBarTheme: const BottomAppBarTheme(
    elevation: 0,
    color: darkBG,
  ),
  appBarTheme: const AppBarTheme(
      elevation: 0.0,
      backgroundColor: darkBG,
      iconTheme: IconThemeData(color: Colors.white),
      systemOverlayStyle: SystemUiOverlayStyle(
        systemNavigationBarColor: Colors.black,
        systemNavigationBarIconBrightness: Brightness.light,
        statusBarColor: Colors.black,
        statusBarIconBrightness: Brightness.light,
      ),
      titleTextStyle: TextStyle(color: Colors.white),
      actionsIconTheme: IconThemeData(
        color: Colors.white,
      )),
  colorScheme: ColorScheme.fromSwatch(
    accentColor: darkAccent,
  )
      .copyWith(
        secondary: darkAccent,
        brightness: Brightness.dark,
      )
      .copyWith(surface: darkBG),
);