Merge pull request 'Navbar Position fix' (#21) from enhancement/18-navbar-alignment into development
Reviewed-on: #21 Reviewed-by: mathiskir <mathis.kirchner.mk@gmail.com> Reviewed-by: Felix Kirchner <felix.kirchner.fk@gmail.com>
This commit was merged in pull request #21.
This commit is contained in:
@@ -70,12 +70,14 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
|
|||||||
backgroundColor: CustomTheme.backgroundColor,
|
backgroundColor: CustomTheme.backgroundColor,
|
||||||
body: tabs[currentIndex],
|
body: tabs[currentIndex],
|
||||||
extendBody: true,
|
extendBody: true,
|
||||||
bottomNavigationBar: Padding(
|
bottomNavigationBar: SafeArea(
|
||||||
padding: const EdgeInsets.only(left: 12.0, right: 12.0, bottom: 8.0),
|
minimum: const EdgeInsets.only(bottom: 30),
|
||||||
child: Material(
|
child: Container(
|
||||||
elevation: 10,
|
margin: const EdgeInsets.symmetric(horizontal: 12.0, vertical: 10),
|
||||||
borderRadius: BorderRadius.circular(24),
|
decoration: BoxDecoration(
|
||||||
color: CustomTheme.primaryColor,
|
borderRadius: BorderRadius.circular(24),
|
||||||
|
color: CustomTheme.primaryColor,
|
||||||
|
),
|
||||||
child: ClipRRect(
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(24),
|
borderRadius: BorderRadius.circular(24),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ class _GroupsViewState extends State<GroupsView> {
|
|||||||
),
|
),
|
||||||
|
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: 80,
|
bottom: MediaQuery.paddingOf(context).bottom,
|
||||||
child: CustomWidthButton(
|
child: CustomWidthButton(
|
||||||
text: 'Create Group',
|
text: 'Create Group',
|
||||||
sizeRelativeToWidth: 0.90,
|
sizeRelativeToWidth: 0.90,
|
||||||
|
|||||||
Reference in New Issue
Block a user