From c3b5e0bf8e4e10e2d51d093d6ba841cff50498ab Mon Sep 17 00:00:00 2001 From: Youssef Andrawes Date: Wed, 9 Oct 2024 14:58:37 +0200 Subject: [PATCH] style: center bottom navigation use-cases --- lib/ui/widgets/navigation_item.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ui/widgets/navigation_item.dart b/lib/ui/widgets/navigation_item.dart index 5133401..5c0556a 100644 --- a/lib/ui/widgets/navigation_item.dart +++ b/lib/ui/widgets/navigation_item.dart @@ -19,6 +19,7 @@ class NavigationItem extends StatelessWidget { @override Widget build(BuildContext context) { return Column( + mainAxisSize: MainAxisSize.min, children: [ if (isSelected) Icon(iconSelected) else Icon(iconUnselected), Text(text),