2 Commits

Author SHA1 Message Date
fd13fe6e90 made CustomWidthButton's position adaptive to bottom padding of safearea
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m6s
Pull Request Pipeline / lint (pull_request) Successful in 2m6s
2025-11-22 17:58:33 +01:00
5062196463 Adjust safeareas minimum padding for custom navigation bar 2025-11-22 17:57:58 +01:00
2 changed files with 44 additions and 45 deletions

View File

@@ -55,9 +55,9 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
body: tabs[currentIndex],
extendBody: true,
bottomNavigationBar: SafeArea(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
minimum: const EdgeInsets.only(bottom: 30),
child: Container(
margin: const EdgeInsets.symmetric(horizontal: 12.0, vertical: 10),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(24),
color: CustomTheme.primaryColor,
@@ -103,7 +103,6 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
),
),
),
),
);
}

View File

@@ -103,7 +103,7 @@ class _GroupsViewState extends State<GroupsView> {
),
Positioned(
bottom: MediaQuery.paddingOf(context).bottom + 15,
bottom: MediaQuery.paddingOf(context).bottom,
child: CustomWidthButton(
text: 'Create Group',
sizeRelativeToWidth: 0.90,