Visitar URL original
[animations] Update demo home page by shihaohong · Pull Request #78 · flutter/packages · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Stop using deprecated text theme terms
  • Loading branch information
Shi Hao Hong
Shi Hao Hong committed Feb 3, 2020
commit 8b9c0e31ee8ef04eb5a6033012d2bb8b32efc05d
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class _ExampleCard extends StatelessWidget {
children: <Widget>[
Text(
'123 photos',
style: Theme.of(context).textTheme.body2,
style: Theme.of(context).textTheme.bodyText1,
),
Text(
'123 photos',
Expand Down
4 changes: 2 additions & 2 deletions packages/animations/example/lib/shared_axis_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class _CoursePage extends StatelessWidget {
const Padding(padding: EdgeInsets.symmetric(vertical: 8.0)),
Text(
'Streamling your courses',
style: Theme.of(context).textTheme.headline,
style: Theme.of(context).textTheme.headline5,
textAlign: TextAlign.center,
),
const Padding(padding: EdgeInsets.symmetric(vertical: 5.0)),
Expand Down Expand Up @@ -194,7 +194,7 @@ class _SignInPage extends StatelessWidget {
Padding(padding: EdgeInsets.symmetric(vertical: maxHeight / 50)),
Text(
'Hi David Park',
style: Theme.of(context).textTheme.headline,
style: Theme.of(context).textTheme.headline5,
),
Padding(padding: EdgeInsets.symmetric(vertical: maxHeight / 50)),
Text(
Expand Down