Open RedEagle07 opened 4 years ago
I am having the same issue. anyone please help.
If anyone is still looking for answer. What you need to do is to check the status of the panel. bool isPanelOpen = slidePanelController.panelPosition.round() == 1
Then in your scrollable widget inside the panel builder set the physics to isPanelOpen ? AlwaysScrollableScrollPhysics() : NeverScrollableScrollPhysics();
@harlanx using AlwaysScrollableScrollPhysics() isn't doing it for me. Would you provide some sample code to show how your solution works?
I also need the CustomScrollView in my panel to start scrolling right away instead of releasing the finger and starting to scroll again
@harlanx using AlwaysScrollableScrollPhysics() isn't doing it for me. Would you provide some sample code to show how your solution works?
I also need the CustomScrollView in my panel to start scrolling right away instead of releasing the finger and starting to scroll again
My bad, I misunderstood the question. My solution I mentioned only prevents the scrollable child widget from having the priority of being scrolled up first.
You could try flutter's DraggableScrollableSheet but you'd lose the ability to animate to a position.
Is there any fix for that?
If I understand your question correctly, you should try to use the panelBuilder with a listview inside. There's an example in the README with this.
I am also looking for a solution for this problem..
Im trying to create the same scrolling physics achieved in any draggable widget, to expand first then scroll without having to remove my finger from screen and start a new scroll