dark static method

ThemeData dark()

Implementation

static ThemeData dark() {
  return ThemeData(
    appBarTheme: AppBarTheme(
      // foregroundColor: Colors.white,
      backgroundColor: Colors.blue[900],
    ),
    splashColor: Colors.indigoAccent.shade700,
    cardTheme: const CardTheme(elevation: 12),
    dialogBackgroundColor: Colors.white12,
    floatingActionButtonTheme: const FloatingActionButtonThemeData(
      // foregroundColor: Colors.white,
      backgroundColor: Colors.blueAccent,
    ),
    bottomNavigationBarTheme: const BottomNavigationBarThemeData(
      selectedItemColor: Colors.green,
    ),
    primaryColor: Colors.blue[700],
    dividerColor: Colors.white54,
    textTheme: darkTextTheme,
    colorScheme: const ColorScheme.dark().copyWith(secondary: Colors.blue),
  );
}