From 8e3f90fb6c4d6c35f30de39a4c03938cdb244deb Mon Sep 17 00:00:00 2001 From: TechnicJelle <22576047+TechnicJelle@users.noreply.github.com> Date: Sat, 31 Aug 2024 05:06:35 +0200 Subject: [PATCH] Center the "New map" button better --- lib/new_map_button.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/new_map_button.dart b/lib/new_map_button.dart index 36ae3df..4e180f4 100644 --- a/lib/new_map_button.dart +++ b/lib/new_map_button.dart @@ -20,10 +20,14 @@ class NewMapButton extends ConsumerWidget { ), tileColor: Theme.of(context).colorScheme.secondary, title: const Row( + mainAxisSize: MainAxisSize.max, + mainAxisAlignment: MainAxisAlignment.center, children: [ Icon(Icons.add), SizedBox(width: 8), Text("New map"), + SizedBox(width: 8), + Icon(Icons.add, color: Colors.transparent), ], ), onTap: () {