Implementation
static ThemeData get light => ThemeData(
brightness: Brightness.light,
primaryColor: AppColors.getPrimaryBlueColor(),
scaffoldBackgroundColor: Colors.white,
appBarTheme: AppBarTheme(
backgroundColor: Colors.white,
elevation: 0,
iconTheme: IconThemeData(color: AppColors.getPrimaryBlueColor()),
titleTextStyle: TextStyle(color: AppColors.mainBlackText),
),
colorScheme: ColorScheme.light(
primary: AppColors.getPrimaryBlueColor(),
secondary: AppColors.secondaryBlue,
onPrimary: Colors.white,
onSecondary: AppColors.mainBlackText,
),
textTheme: TextTheme(
bodyLarge: TextStyle(color: AppColors.mainBlackText),
bodyMedium: TextStyle(color: AppColors.mainBlackText),
titleLarge: TextStyle(color: AppColors.mainBlackText),
),
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
backgroundColor: AppColors.getPrimaryBlueColor(),
foregroundColor: Colors.white,
),
),
outlinedButtonTheme: OutlinedButtonThemeData(
style: OutlinedButton.styleFrom(
foregroundColor: AppColors.getPrimaryBlueColor(),
side: BorderSide(color: AppColors.getPrimaryBlueColor()),
),
),
dialogTheme: DialogTheme(
backgroundColor: Colors.white,
titleTextStyle: TextStyle(color: AppColors.customDialogTitleColor),
contentTextStyle: TextStyle(color: AppColors.customDialogContentColor),
),
iconTheme: IconThemeData(
color: AppColors.mainBlackText,
),
);