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.
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'sdefaultPanelState == PanelState.HIDDEN
then set the_isPanelVisible = false
.