Fix deprecations
This commit is contained in:
parent
e99521c3f0
commit
02ebf0ff43
9 changed files with 21 additions and 13 deletions
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue