darkTheme property
Implementation
static final ThemeData darkTheme = ThemeData(
brightness: Brightness.dark,
primaryColor: Colors.blueGrey,
useMaterial3: true,
textTheme: const TextTheme(
headlineLarge: TextStyle(fontSize: 72.0, color: Colors.white),
headlineMedium: TextStyle(fontSize: 54.0, color: Colors.white70),
headlineSmall: TextStyle(fontSize: 36.0, color: Colors.white60),
titleLarge: TextStyle(fontSize: 28.0, color: Colors.white54),
titleMedium: TextStyle(fontSize: 24.0, color: Colors.white54),
titleSmall: TextStyle(fontSize: 20.0, color: Colors.white54),
bodyLarge: TextStyle(fontSize: 16.0, color: Colors.white54),
bodyMedium: TextStyle(fontSize: 14.0, color: Colors.white54),
bodySmall: TextStyle(fontSize: 12.0, color: Colors.white54),
),
);