Migrate TextTheme to 2018 APIs (#48547)

This commit is contained in:
Hans Muller
2020-01-24 19:03:01 -08:00
committed by Flutter GitHub Bot
parent 77fb0c1ade
commit bc5c46438a
118 changed files with 1138 additions and 749 deletions

View File

@@ -91,7 +91,7 @@ abstract class KeyboardKey extends Diagnosticable {
/// color: Colors.white,
/// alignment: Alignment.center,
/// child: DefaultTextStyle(
/// style: textTheme.display1,
/// style: textTheme.headline4,
/// child: RawKeyboardListener(
/// focusNode: _focusNode,
/// onKey: _handleKeyEvent,
@@ -371,7 +371,7 @@ class LogicalKeyboardKey extends KeyboardKey {
/// color: Colors.white,
/// alignment: Alignment.center,
/// child: DefaultTextStyle(
/// style: textTheme.display1,
/// style: textTheme.headline4,
/// child: RawKeyboardListener(
/// focusNode: _focusNode,
/// onKey: _handleKeyEvent,