darkTheme property
Implementation
static final darkTheme = ThemeData(
brightness: Brightness.dark,
primaryColor: const Color(0xff020630),
scaffoldBackgroundColor: const Color(0xFF121212),
colorScheme: const ColorScheme.dark(
primary: Color(0xff020630),
secondary: Colors.blueAccent,
surface: Color(0xFF1E1E1E),
onSurface: Colors.white,
),
appBarTheme: const AppBarTheme(
backgroundColor: Color(0xFF1E1E1E),
foregroundColor: Colors.white,
elevation: 0,
),
textTheme: const TextTheme(
bodyLarge: TextStyle(color: Colors.white),
bodyMedium: TextStyle(color: Colors.white70),
),
snackBarTheme: const SnackBarThemeData(
backgroundColor: Colors.white,
contentTextStyle: TextStyle(color: Colors.black),
),
);