fixed misaligned text on final sum page

This commit is contained in:
kima 2023-06-25 14:50:54 +02:00
parent 95ed503e53
commit 2c5939fab4

View File

@ -151,6 +151,7 @@ class _AllSumBodyState extends State<AllSumBody> {
children: [ children: [
Text( Text(
i.values.toList()[1].toString(), i.values.toList()[1].toString(),
textAlign: TextAlign.center,
style: const TextStyle( style: const TextStyle(
fontWeight: FontWeight.w800, fontWeight: FontWeight.w800,
fontSize: 36.0, fontSize: 36.0,
@ -159,6 +160,7 @@ class _AllSumBodyState extends State<AllSumBody> {
), ),
Text( Text(
i.values.toList()[0], i.values.toList()[0],
textAlign: TextAlign.center,
style: const TextStyle( style: const TextStyle(
fontSize: 18.0, fontSize: 18.0,
color: Colors.white, color: Colors.white,