Migrate TextTheme to 2018 APIs (#48547)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
77fb0c1ade
commit
bc5c46438a
@@ -100,7 +100,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
Text(
|
||||
'$_counter',
|
||||
style: Theme.of(context).textTheme.display1,
|
||||
style: Theme.of(context).textTheme.headline4,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -100,7 +100,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
Text(
|
||||
'$_counter',
|
||||
style: Theme.of(context).textTheme.display1,
|
||||
style: Theme.of(context).textTheme.headline4,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -100,7 +100,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
Text(
|
||||
'$_counter',
|
||||
style: Theme.of(context).textTheme.display1,
|
||||
style: Theme.of(context).textTheme.headline4,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user