Skip to content

Commit

Permalink
Center the "New map" button better
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed Aug 31, 2024
1 parent 321b69b commit 8e3f90f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/new_map_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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: () {
Expand Down

0 comments on commit 8e3f90f

Please sign in to comment.