diff --git a/example/lib/components/heading.dart b/example/lib/components/heading.dart index 4490a32..84fefb1 100644 --- a/example/lib/components/heading.dart +++ b/example/lib/components/heading.dart @@ -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, ), ), diff --git a/example/lib/components/radio_item.dart b/example/lib/components/radio_item.dart index 7d0e250..3a500fd 100644 --- a/example/lib/components/radio_item.dart +++ b/example/lib/components/radio_item.dart @@ -40,7 +40,7 @@ class RadioItem extends StatelessWidget { }, child: Text( value.title, - style: theme.textTheme.subtitle1, + style: theme.textTheme.subhead, ), ), ), diff --git a/example/lib/custom_appbar_sample.dart b/example/lib/custom_appbar_sample.dart index 6093f2a..e34c475 100644 --- a/example/lib/custom_appbar_sample.dart +++ b/example/lib/custom_appbar_sample.dart @@ -58,7 +58,7 @@ class _State extends State : Center( child: Text( '<\t\t${i.title}\t\t>', - style: Theme.of(context).textTheme.headline4, + style: Theme.of(context).textTheme.display1, ))) .toList(growable: false), ), diff --git a/example/lib/default_appbar_demo.dart b/example/lib/default_appbar_demo.dart index f48fdfa..65eab40 100644 --- a/example/lib/default_appbar_demo.dart +++ b/example/lib/default_appbar_demo.dart @@ -133,7 +133,7 @@ class _State extends State : Center( child: Text( '${i.title}', - style: Theme.of(context).textTheme.headline4, + style: Theme.of(context).textTheme.display1, ))) .toList(growable: false)), bottomNavigationBar: _badge == null