Open yasinarik opened 3 years ago
I also facing same issue. User want to hide or show in setting. So First time want to hide it. Only show when they change the setting. So I put the bloc state and check the state change in collapsed bottom widget. State does not triggered. If I don't hide, it is triggered. Is there any other way to show the panel when user change the setting from setting screen.
Is there a solution for this case with bottom navigation bar when sliding panel is opened programmatically?
It's my pleasure to tell you how I solved this issue:
if (panelController.isAttached) { panelController.open(); screenStatus.changeFullScreen(true); // This a provider file that communicates with main.dart and hides the bottomNavigationBar when I set fullscreen }
Is there an implementation in this package that enable starting sliding the panel from the bottom end of the screen when there is also a persistent bottom navigation bar (or CupertinoTabBar for ex) ?
Even when used as a wrap or a child in a stack, the starting point of the panel can only be lowered as low as the current scaffold. It doesn't start from the bottom end of the device's screen (and doesn't cover the bottom navigation bar.)
However, I want it to behave like a regular bottom modal sheet. Like when we use the root navigator.
The problem with that, you have to navigate to a modal route. Whereas using your sliding up panel package, there is no need to navigate to a new route (even it is a modal route).
So, when I navigate to a screen, I can create and make the panel ready at the same time. It is just hidden and it will be opened by a button tap. So, no rebuilds occur and the slide up and down animations are very smooth. These are very good.