dark property
Implementation
static final ThemeData dark = ThemeData(
primarySwatch: Colors.blue,
// Define the system overlay style here.
appBarTheme: AppBarTheme(
systemOverlayStyle: SystemUiOverlayStyle(
statusBarColor: Colors.green,
),
),
textTheme: const TextTheme(),
fontFamily: Family.regular,
// scaffoldBackgroundColor: AppColors.primaryBackground,
scaffoldBackgroundColor: AppColors.white,
colorScheme: const ColorScheme.light(
// background: AppColors.primaryColor,
surface: AppColors.primaryColor,
),
primaryColor: AppColors.primaryColor,
inputDecorationTheme: EditTextTheme.editTextTheme,
floatingActionButtonTheme: _floatingButtonTheme, checkboxTheme: _checkboxThemeData,
dialogTheme: DialogThemeData(
backgroundColor: darkUiTheme.cardBaground,
titleTextStyle: TextStyle(color: darkUiTheme.white),
contentTextStyle: TextStyle(color: darkUiTheme.grey),
),
);