Fix deprecations

This commit is contained in:
Christian Pauly 2020-05-06 18:43:30 +02:00
commit 02ebf0ff43
9 changed files with 21 additions and 13 deletions

View file

@ -33,7 +33,7 @@ final ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
color: Colors.white,
textTheme: TextTheme(
title: TextStyle(
headline6: TextStyle(
color: Colors.black,
fontSize: 20,
),
@ -68,7 +68,7 @@ final ThemeData darkTheme = ThemeData.dark().copyWith(
brightness: Brightness.dark,
color: Color(0xff1D1D1D),
textTheme: TextTheme(
title: TextStyle(
headline6: TextStyle(
color: Colors.white,
fontSize: 20,
),
@ -103,7 +103,7 @@ final ThemeData amoledTheme = ThemeData.dark().copyWith(
brightness: Brightness.dark,
color: Color(0xff1D1D1D),
textTheme: TextTheme(
title: TextStyle(
headline6: TextStyle(
color: Colors.white,
fontSize: 20,
),