Minor change on material3 usage

This commit is contained in:
Mercurio 2023-11-09 21:47:36 +01:00
parent 7dba350a7d
commit 6a62a7c7f0

View file

@ -147,6 +147,7 @@ final ThemeData lightTheme = ThemeData(
); );
final ThemeData darkTheme = ThemeData( final ThemeData darkTheme = ThemeData(
useMaterial3: true,
textTheme: const TextTheme( textTheme: const TextTheme(
displayLarge: TextStyle(fontSize: 32, fontWeight: FontWeight.bold), displayLarge: TextStyle(fontSize: 32, fontWeight: FontWeight.bold),
bodyLarge: TextStyle(fontSize: 18, color: Colors.white70), bodyLarge: TextStyle(fontSize: 18, color: Colors.white70),