buildThemeData function Other
- BuildContext context
The default theme for the ReVoiceMe app.
Implementation
ThemeData buildThemeData(BuildContext context) => ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.lightBlue,
primary: Colors.lightBlue,
secondary: Colors.orange,
),
iconTheme: const IconThemeData(size: CustomThemeData.defaultIconSize),
useMaterial3: true,
textTheme: Theme.of(context).textTheme.apply(
fontSizeFactor:
1.25, // Scales all fonts so that elderly people can read them better
),
);