Skip to content
Snippets Groups Projects
Commit 8b5ff842 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Fix display/layout/style

parent 5d0b60fc
No related branches found
No related tags found
1 merge request!12Resolve "Fix display/layout/style"
Pipeline #2036 passed
......@@ -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: () {
......
......@@ -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: () {
......
......@@ -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),
);
}
......
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment