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.36k stars 378 forks source link

added PanelState.Hidden #219

Closed Mayb3Nots closed 3 years ago

Mayb3Nots commented 3 years ago

this will make the initial panel hidden from view then you can open it up using the PanelController. Good for music mini player where you don't wanna show it when you don't have a song playing initially.

Lots of code was changed because it got formatted but all I did was added a new enum under PanelState and then added logic in the initState to see if the constructor's defaultPanelState == PanelState.HIDDEN then set the _isPanelVisible = false.

Henzelix commented 2 years ago

Any progress with it?