Skip to content

Commit

Permalink
add bottom padding for fab
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Apr 24, 2024
1 parent e15e818 commit 0d19a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class _HomePageState extends ConsumerState<HomePage> {
builder: (context, child) {
if (!appRef.showFAB || appRef.index < 2) {
return Padding(
padding: EdgeInsets.only(bottom: kNavbarHeight),
padding: EdgeInsets.only(bottom: kNavbarHeight + 32.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expand Down Expand Up @@ -281,10 +281,10 @@ class _HomePageState extends ConsumerState<HomePage> {
type: NavbarType.floating,
destinationAnimationCurve: Curves.fastOutSlowIn,
destinationAnimationDuration: 200,
decoration: NavbarDecoration(
decoration: FloatingNavbarDecoration(
height: 80,
minExtendedWidth: 226,
minWidth: 92,
// minExtendedWidth: 226,
// minWidth: 92,
borderRadius: BorderRadius.circular(20),
isExtended: size.width > 800 ? true : false,
// labelTextStyle: const TextStyle(
Expand Down

1 comment on commit 0d19a04

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.