Remove bottom padding of bottom navigation bar

This commit is contained in:
ashilkn 2023-05-22 22:57:08 +05:30
parent f9b4c0cba0
commit c6bf03fe36

View file

@ -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> {
),
),
),
),
);
}
}