Space the plates more evenly

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

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,
),
),
),
),

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: