Skip to content

Commit 0d19a04

Browse files
committed
add bottom padding for fab
1 parent e15e818 commit 0d19a04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

example/lib/main.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class _HomePageState extends ConsumerState<HomePage> {
200200
builder: (context, child) {
201201
if (!appRef.showFAB || appRef.index < 2) {
202202
return Padding(
203-
padding: EdgeInsets.only(bottom: kNavbarHeight),
203+
padding: EdgeInsets.only(bottom: kNavbarHeight + 32.0),
204204
child: Row(
205205
mainAxisAlignment: MainAxisAlignment.spaceBetween,
206206
children: [
@@ -281,10 +281,10 @@ class _HomePageState extends ConsumerState<HomePage> {
281281
type: NavbarType.floating,
282282
destinationAnimationCurve: Curves.fastOutSlowIn,
283283
destinationAnimationDuration: 200,
284-
decoration: NavbarDecoration(
284+
decoration: FloatingNavbarDecoration(
285285
height: 80,
286-
minExtendedWidth: 226,
287-
minWidth: 92,
286+
// minExtendedWidth: 226,
287+
// minWidth: 92,
288288
borderRadius: BorderRadius.circular(20),
289289
isExtended: size.width > 800 ? true : false,
290290
// labelTextStyle: const TextStyle(

0 commit comments

Comments
 (0)