From 1255a449356f2e5985685edab601b3fb1e1cda20 Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Wed, 9 Oct 2024 12:38:37 +0400 Subject: [PATCH] add space button to center --- lib/pages/spaces_management/view/spaces_management_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/spaces_management/view/spaces_management_page.dart b/lib/pages/spaces_management/view/spaces_management_page.dart index ad2fcf31..8ec604d9 100644 --- a/lib/pages/spaces_management/view/spaces_management_page.dart +++ b/lib/pages/spaces_management/view/spaces_management_page.dart @@ -176,11 +176,11 @@ class SpaceManagementPageState extends State { ), spaces.isEmpty - ? AddSpaceButton( + ? Center(child: AddSpaceButton( onTap: () { _showCreateSpaceDialog(screenSize); }, - ) + )) : Stack( children: spaces .asMap()