darkTheme top-level property

ThemeData darkTheme
getter/setter pair

Implementation

ThemeData darkTheme = ThemeData(
  splashFactory: NoSplash.splashFactory,
  useMaterial3: true,
  colorScheme: darkColorScheme,
  primarySwatch: Colors.blue,
  scaffoldBackgroundColor: const Color(0xFF1C1C1E),
  bottomSheetTheme:
      const BottomSheetThemeData(backgroundColor: Color(0xFF1C1C1E)),
  sliderTheme: const SliderThemeData(
      trackHeight: 1,
      thumbShape: RoundSliderThumbShape(elevation: 0, pressedElevation: 0)),
  textTheme: const TextTheme(
    bodyLarge: TextStyle(color: Color(0xFFFFFFFF)),
    bodyMedium: TextStyle(color: Color(0xFFFFFFFF)),
    bodySmall: TextStyle(color: Color(0xFFFFFFFF)),
    titleLarge: TextStyle(color: Color(0xFFFFFFFF)),
    titleMedium: TextStyle(color: Color(0xFFFFFFFF)),
    titleSmall: TextStyle(color: Color(0xFFFFFFFF)),
  ),
  datePickerTheme: DatePickerThemeData(
    headerHelpStyle: const TextStyle(fontSize: 16),
    headerHeadlineStyle:
        const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
    headerForegroundColor: const Color(0xFFe74c5d),
    shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)),
  ),
  dialogTheme: DialogThemeData(
      shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10))),
  appBarTheme: const AppBarTheme(
    backgroundColor: Color(0xFF1C1C1E),
    foregroundColor: Color(0xFFFFFFFF),
    surfaceTintColor: Colors.transparent,
  ),
  inputDecorationTheme: const InputDecorationTheme(
    fillColor: Color(0xFF2C2C2E),
    hintStyle: TextStyle(color: Color(0xFF565658)),
    labelStyle: TextStyle(color: Color(0xFF565658)),
  ),
);