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

onPanelClosed triggered by panelController.animatePanelToPosition #304

Open
jarodtang opened this issue May 29, 2022 · 0 comments
Open

onPanelClosed triggered by panelController.animatePanelToPosition #304

jarodtang opened this issue May 29, 2022 · 0 comments

Comments

@jarodtang
Copy link

jarodtang commented May 29, 2022

Describe the bug
When I tried to open up the SlidingUpPanel by animatePanelToPostion, the SlidingUpPanel.onPanelClosed miss called.

To Reproduce
SlidingUpPanel( // defaultPanelState: PanelState.CLOSED, controller: panelController, onPanelClosed: () { debugPrint("onPanelClosed called"); dictProvier.clearup(); }, minHeight: 0.0,

by
panelController.animatePanelToPosition(0.5);

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Flutter Version [e.g. 1.12.13]
  • sliding_up_panel Version [e.g. 1.0.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant