Remove bottom padding of bottom navigation bar
This commit is contained in:
parent
f9b4c0cba0
commit
c6bf03fe36
|
@ -79,13 +79,11 @@ class _HomeBottomNavigationBarState extends State<HomeBottomNavigationBar> {
|
|||
|
||||
return RepaintBoundary(
|
||||
child: AnimatedContainer(
|
||||
duration: const Duration(milliseconds: 3000),
|
||||
duration: const Duration(milliseconds: 300),
|
||||
curve: Curves.easeInOut,
|
||||
height: filesAreSelected ? 0 : (56 + bottomPadding),
|
||||
child: IgnorePointer(
|
||||
ignoring: filesAreSelected,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(bottom: bottomPadding),
|
||||
child: ListView(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
children: [
|
||||
|
@ -160,7 +158,6 @@ class _HomeBottomNavigationBarState extends State<HomeBottomNavigationBar> {
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue