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 381 forks source link

SlidePanel Over BottomTabbar #101

Closed eopeter closed 4 years ago

eopeter commented 4 years ago

How will I put this over a bottomNavigationBar? Still want to have access to the tabs while panel is collapsed

akshathjain commented 4 years ago

You can place the SlidingUpPanel inside of a stack, and then use a Positioned widget to adjust its bottom offset to be above the bottomNavigationBar.

Check out this example of using the SlidingUpPanel within a Stack: https://pub.dev/packages/sliding_up_panel#nesting-the-slidinguppanel

ghenry commented 4 years ago

I'm just putting BottomNavigationBar as a child of the SlidingUpPanel. Works well.

mroignant commented 1 year ago

Hello,

Hope everyone is fine.

I would like to hide the BottomNavigationBar when the component SlidingUpPanel is going down.

I used the property "onPanelSlide" with the position of the SlideUpPanel component but there are lags... It's not convenient.

I would like to have the same behavior of Airbnb application. (Version 2023)

Do you have any ideas..?

Thank you in advance of your help.

Mika