diff --git a/lib/cpu_level_page.dart b/lib/cpu_level_page.dart index 05a5a71b86a3161b0a4da03f6a7f21841755e0b0..0554af0e844af689ca8be72e65dcd761287bc14e 100644 --- a/lib/cpu_level_page.dart +++ b/lib/cpu_level_page.dart @@ -26,7 +26,7 @@ class CpuLevelPage extends StatelessWidget { 'βΊοΈ FACILE', style: Theme.of(context) .textTheme - .display1 + .headline4 .copyWith(color: Colors.black), ), onPressed: () { @@ -48,7 +48,7 @@ class CpuLevelPage extends StatelessWidget { 'π€ DIFFICILE', style: Theme.of(context) .textTheme - .display1 + .headline4 .copyWith(color: Colors.white), ), onPressed: () { @@ -70,7 +70,7 @@ class CpuLevelPage extends StatelessWidget { 'π€― TRES DIFFICILE', style: Theme.of(context) .textTheme - .display1 + .headline4 .copyWith(color: Colors.white), ), onPressed: () { diff --git a/lib/home_page.dart b/lib/home_page.dart index b1b865ad14e18a341db249e082d414b761166903..7676f7eda26246c55bd6700b9395a76b648669c2 100644 --- a/lib/home_page.dart +++ b/lib/home_page.dart @@ -23,7 +23,7 @@ class HomePage extends StatelessWidget { 'π§ 2 JOUEURS π§', style: Theme.of(context) .textTheme - .display1 + .headline4 .copyWith(color: Colors.white), ), onPressed: () { @@ -43,7 +43,7 @@ class HomePage extends StatelessWidget { 'π§ 1 JOUEUR π€', style: Theme.of(context) .textTheme - .display1 + .headline4 .copyWith(color: Colors.white), ), onPressed: () { @@ -63,7 +63,7 @@ class HomePage extends StatelessWidget { 'π€ DEMO π€', style: Theme.of(context) .textTheme - .display1 + .headline4 .copyWith(color: Colors.black), ), onPressed: () { diff --git a/lib/match_page.dart b/lib/match_page.dart index b1ea45ac65d0f6b540d90a67a2e3edd859111e91..db231b42baaf1b45a852dfb9c1d9562b6a6362c0 100644 --- a/lib/match_page.dart +++ b/lib/match_page.dart @@ -98,7 +98,7 @@ class _MatchPageState extends State<MatchPage> with TickerProviderStateMixin { textAlign: TextAlign.center, style: Theme.of(context) .textTheme - .display3 + .headline6 .copyWith(color: Colors.white), ) : Column( @@ -108,7 +108,7 @@ class _MatchPageState extends State<MatchPage> with TickerProviderStateMixin { textAlign: TextAlign.center, style: Theme.of(context) .textTheme - .title + .headline5 .copyWith(color: Colors.white), ), Padding( @@ -151,7 +151,10 @@ class _MatchPageState extends State<MatchPage> with TickerProviderStateMixin { return Text( name, textAlign: TextAlign.center, - style: Theme.of(context).textTheme.title.copyWith(color: Colors.white), + style: Theme.of(context) + .textTheme + .headline5 + .copyWith(color: Colors.white), ); } diff --git a/pubspec.lock b/pubspec.lock index 9e492de8c528151eb2996ba9168649f4f374d054..6b16baeffc1c1a6d6c4e55aeb65bc3afd44c6e1c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0" + version: "2.8.2" boolean_selector: dependency: transitive description: @@ -28,7 +28,7 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.1" clock: dependency: transitive description: @@ -66,14 +66,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10" + version: "0.12.11" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.7.0" path: dependency: transitive description: @@ -127,7 +127,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19" + version: "0.4.3" typed_data: dependency: transitive description: @@ -143,4 +143,4 @@ packages: source: hosted version: "2.1.0" sdks: - dart: ">=2.12.0-0.0 <3.0.0" + dart: ">=2.12.0 <3.0.0"