Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HIDDEN to defaultPanelState #126

Open
TheRishka opened this issue Apr 9, 2020 · 10 comments
Open

Add HIDDEN to defaultPanelState #126

TheRishka opened this issue Apr 9, 2020 · 10 comments
Labels
enhancement New feature or request

Comments

@TheRishka
Copy link

Right now there is no option to hide SlidingUpPanel by default.
It's either closed or opened.
Would be nice to have such option.
It is related to #100 # but still a bit different request.
Lack of default options makes the library suit less for BLOC types of architecture.

@akshathjain
Copy link
Owner

Will add PanelState.HIDDEN or something similar to either defaultPanelState or create a new property.

@akshathjain akshathjain added the enhancement New feature or request label Apr 12, 2020
@antoijo
Copy link

antoijo commented Apr 16, 2020

Would be nice to have snap point as default panel state also! and an option to disable the fast swipe which can be annoying in some configurations

@pkmangukiya
Copy link

I found a one way to hide SlidingUpPanel by default. that's not a sufficient way but it's a Alternate.

Set a minHeight property as => minHetigh: 0,

@pkmangukiya
Copy link

Right now there is no option to hide SlidingUpPanel by default.
It's either closed or opened.
Would be nice to have such option.
It is related to #100 # but still a bit different request.
Lack of default options makes the library suit less for BLOC types of architecture.

i found a one way to hide SlidingUpPanel by default. that's not a sufficient way but it's a Alternate.

Set a minHeight property as => minHeight: 0,

@omidraha
Copy link

omidraha commented Aug 4, 2020

I have the same issue,
I would like the SlidingUpPanel be hidden by default and when user click a button, then open it.
I try:

 defaultPanelState: PanelState.CLOSED,

But it's not worked.

@Flucadetena
Copy link

Flucadetena commented Aug 17, 2020

Will add PanelState.HIDDEN or something similar to either defaultPanelState or create a new property.

If you added it on the next release that would be awesome!!, really need that functionality.

By the way, super cool and handy plugin. Great Job man!

@Mayb3Nots
Copy link

Mayb3Nots commented Feb 1, 2021

I have added it here #219
While it's not yet merged you may use it by stating in your pubspec.yaml

UPDATE
The PR has been moved to #251

  sliding_up_panel: 
    git:
      url: https://github.com/Mayb3Nots/sliding_up_panel
      ref: 783fc25bee8d67f21f999ee1108199dd1b560150

@realrk95
Copy link

realrk95 commented Jul 3, 2021

Needed this asap. Thanks for the PR. Works well, hope it is merged in main!

@sooxt98
Copy link

sooxt98 commented Aug 11, 2021

@Mayb3Nots ayyyyyy, hi mate, waiting to get merged

@williazz
Copy link

williazz commented Apr 10, 2022

Following up on this thread! I too would love a PanelState.HIDDEN feature. As of now there's only open and closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants