akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.38k stars 383 forks source link

Can't use it above BottomNavigationBar #246

Open smakarov opened 3 years ago

smakarov commented 3 years ago

Hi there! Default Scaffold bottomNavigationBar: Column( mainAxisSize: MainAxisSize.min, children: [ SlidingUpPanel( backdropEnabled: true, panel: Center( child: Text("This is the sliding Widget"), ), ), BottomNavigationBar( items: <BottomNavigationBarItem>[ BottomNavigationBarItem( icon: Icon(SleepAppUIIcons.mixes), label: 'Mixes', ), BottomNavigationBarItem( icon: Icon(SleepAppUIIcons.sound_wave), label: 'Sounds', ), BottomNavigationBarItem( icon: Icon(SleepAppUIIcons.settings), label: 'Settings', ), ], ), ], ),

And i got this

saksham-gt commented 3 years ago

Hey! wrap the column in SingleChildScrollView(). I think that'll work.