darkTheme property
Implementation
static final darkTheme = ThemeData(
appBarTheme: AppBarTheme(
backgroundColor: AppColor().black,
iconTheme: IconThemeData(
color: AppColor().white,
),
),
fontFamily: 'Manrope',
scaffoldBackgroundColor: AppColor().black,
cardColor: AppColor().grey900,
primaryColor: AppColor().blue600,
primaryColorDark: AppColor().blue400,
dialogBackgroundColor: AppColor().black,
tabBarTheme: TabBarTheme(
indicatorColor: AppColor().grey700,
),
bottomSheetTheme: BottomSheetThemeData(
backgroundColor: AppColor().backgroundDark,
surfaceTintColor: AppColor().backgroundDark,
modalBackgroundColor: AppColor().backgroundDark,
),
colorScheme: ColorScheme.fromSeed(
seedColor: AppColor().blue,
brightness: Brightness.dark,
error: AppColor().red300,
background: AppColor().black,
),
textTheme: const TextTheme().apply(
displayColor: AppColor().white,
bodyColor: AppColor().white,
),
outlinedButtonTheme: OutlinedButtonThemeData(
style: ButtonStyle(
padding: MaterialStateProperty.all(
const EdgeInsets.symmetric(vertical: 12.0, horizontal: 16.0)),
shape: MaterialStateProperty.all(
const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(8.0)),
),
),
),
),
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(8.0)),
),
),
));