dark static method

ThemeData dark()

Implementation

static ThemeData dark() {
  return ThemeData(
    colorScheme: ColorScheme.fromSwatch(
      primarySwatch: AppColors.palette,
      accentColor: Colors.blueGrey,
      brightness: Brightness.dark,
    ),
    appBarTheme: AppBarTheme(
      elevation: 0,
      color: Colors.grey[900],
      titleTextStyle: const TextStyle(fontSize: 17),
      // color: Color(0xff050505),
    ),
    scaffoldBackgroundColor: Colors.grey[900],
    cardTheme: const CardTheme(
      elevation: 0,
      shadowColor: Colors.black,
    ),
    elevatedButtonTheme: ElevatedButtonThemeData(
      style: ElevatedButton.styleFrom(
        elevation: 0.0,
      ),
    ),
  );
}