Deprecate 2018 text theme parameters (#109817)
This commit is contained in:
@@ -70,7 +70,7 @@ class _MyKeyExampleState extends State<MyKeyExample> {
|
||||
color: Colors.white,
|
||||
alignment: Alignment.center,
|
||||
child: DefaultTextStyle(
|
||||
style: textTheme.headline4!,
|
||||
style: textTheme.headlineMedium!,
|
||||
child: Focus(
|
||||
focusNode: _focusNode,
|
||||
onKey: _handleKeyEvent,
|
||||
|
||||
@@ -70,7 +70,7 @@ class _MyPhysicalKeyExampleState extends State<MyPhysicalKeyExample> {
|
||||
color: Colors.white,
|
||||
alignment: Alignment.center,
|
||||
child: DefaultTextStyle(
|
||||
style: textTheme.headline4!,
|
||||
style: textTheme.headlineMedium!,
|
||||
child: Focus(
|
||||
focusNode: _focusNode,
|
||||
onKey: _handleKeyEvent,
|
||||
|
||||
Reference in New Issue
Block a user