light property
ThemeData
get
light
Implementation
static ThemeData get light => ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(
seedColor: AppColors.primary,
primary: AppColors.primary,
secondary: AppColors.accent,
surface: AppColors.surface,
brightness: Brightness.light,
),
appBarTheme: const AppBarTheme(
backgroundColor: AppColors.primary,
foregroundColor: Colors.white,
centerTitle: false,
elevation: 4,
),
cardTheme: CardThemeData(
elevation: 6,
shape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
color: Colors.white,
),
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12),
),
backgroundColor: AppColors.primary,
foregroundColor: Colors.white,
),
),
inputDecorationTheme: InputDecorationTheme(
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(12),
),
filled: true,
fillColor: Colors.white,
),
scaffoldBackgroundColor: AppColors.background,
);