diff --git a/just_audio/example/lib/common.dart b/just_audio/example/lib/common.dart index 1e681addf..ce5407fe0 100644 --- a/just_audio/example/lib/common.dart +++ b/just_audio/example/lib/common.dart @@ -101,7 +101,7 @@ class SeekBarState extends State { .firstMatch("$_remaining") ?.group(1) ?? '$_remaining', - style: Theme.of(context).textTheme.caption), + style: Theme.of(context).textTheme.bodySmall), ), ], ); diff --git a/just_audio/example/lib/example_playlist.dart b/just_audio/example/lib/example_playlist.dart index 898fad637..d752e534a 100644 --- a/just_audio/example/lib/example_playlist.dart +++ b/just_audio/example/lib/example_playlist.dart @@ -181,7 +181,7 @@ class MyAppState extends State with WidgetsBindingObserver { ), ), Text(metadata.album, - style: Theme.of(context).textTheme.headline6), + style: Theme.of(context).textTheme.titleLarge), Text(metadata.title), ], ); @@ -235,7 +235,7 @@ class MyAppState extends State with WidgetsBindingObserver { Expanded( child: Text( "Playlist", - style: Theme.of(context).textTheme.headline6, + style: Theme.of(context).textTheme.titleLarge, textAlign: TextAlign.center, ), ), diff --git a/just_audio/example/lib/example_radio.dart b/just_audio/example/lib/example_radio.dart index e725727ad..da45fbc90 100644 --- a/just_audio/example/lib/example_radio.dart +++ b/just_audio/example/lib/example_radio.dart @@ -94,7 +94,7 @@ class MyAppState extends State with WidgetsBindingObserver { Padding( padding: const EdgeInsets.only(top: 8.0), child: Text(title, - style: Theme.of(context).textTheme.headline6), + style: Theme.of(context).textTheme.titleLarge), ), ], );