light static method
Implementation
static ThemeData light({Color primary = Colors.blue}) {
return ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: primary),
useMaterial3: true,
textTheme: const TextTheme(
bodyMedium: TextStyle(fontSize: 14),
bodyLarge: TextStyle(fontSize: 16),
titleLarge: TextStyle(
fontSize: 20,
fontWeight: FontWeight.w600,
),
),
appBarTheme: const AppBarTheme(
elevation: 0,
centerTitle: true,
titleTextStyle: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w600,
color: Colors.black,
),
),
);
}