dark static method
Implementation
static ThemeData dark() {
ThemeData theme = ThemeData(
primaryColor: white,
dividerColor: green,
iconTheme: const IconThemeData(color: Colors.white),
colorScheme: const ColorScheme.dark(
primary: green,
secondary: Colors.green,
secondaryContainer: blueDark,
onPrimary: Colors.white,
onSecondary: Colors.white,
error: redDark,
inversePrimary: black,
),
appBarTheme: const AppBarTheme(backgroundColor: green));
return theme;
}