Space the plates more evenly

This commit is contained in:
Roland Geider committed 2021-06-15 22:31:04 +02:00
1 parent 9bf46807f8
commit 1a2845b448
2 files changed
+13 -11

No files matched your search

+12 -10
View File
@@ -534,8 +534,7 @@ class _LogPageState extends State<LogPage> {
height: 40,
child: plates.length > 0
? Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
mainAxisAlignment: MainAxisAlignment.center,
children: [
...plates
.map(
@@ -544,14 +543,17 @@ class _LogPageState extends State<LogPage> {
color: wgerPrimaryColorLight,
shape: BoxShape.circle,
),
child: SizedBox(
height: 35,
width: 35,
child: Align(
alignment: Alignment.center,
child: Text(
e.toString(),
style: Theme.of(context).textTheme.headline6,
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 5),
child: SizedBox(
height: 35,
width: 35,
child: Align(
alignment: Alignment.center,
child: Text(
e.toString(),
style: Theme.of(context).textTheme.headline6,
),
),
),
),
+1 -1
View File
@@ -259,7 +259,7 @@ packages:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.1"
version: "6.1.2"
fixnum:
dependency: transitive
description: