Skip to content

Commit

Permalink
rollback of theme style change to compact with lower FlutterSDK
Browse files Browse the repository at this point in the history
  • Loading branch information
avenwu committed Feb 28, 2020
1 parent c268075 commit a5f8944
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/lib/components/heading.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Heading extends StatelessWidget {
alignment: AlignmentDirectional.centerStart,
child: Text(
text,
style: theme.textTheme.bodyText2.copyWith(
style: theme.textTheme.body1.copyWith(
color: theme.primaryColor,
),
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/components/radio_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RadioItem<T> extends StatelessWidget {
},
child: Text(
value.title,
style: theme.textTheme.subtitle1,
style: theme.textTheme.subhead,
),
),
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/custom_appbar_sample.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class _State extends State<CustomAppBarDemo>
: Center(
child: Text(
'<\t\t${i.title}\t\t>',
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.display1,
)))
.toList(growable: false),
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/default_appbar_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class _State extends State<DefaultAppBarDemo>
: Center(
child: Text(
'${i.title}',
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.display1,
)))
.toList(growable: false)),
bottomNavigationBar: _badge == null
Expand Down

0 comments on commit a5f8944

Please sign in to comment.