akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 377 forks source link

How to use a `CustomScrollView` inside of the `panelBuilder` #296

Open aytunch opened 2 years ago

aytunch commented 2 years ago

I am using a package which manages its own ScrollController so I can not pass the scroll controller coming from panelBuilder into it. The package is vertical_scrollable_tabview

Is there a way to use SlidingUpPanel and still be able to dismiss the sheet if the CustomScrollViews position is at the top? When the content is smaller than the remaning height it works fine but when it is bigger, hence scrollable, the sheet does not dismiss and we see the overscroll effect.

This video might help.

https://user-images.githubusercontent.com/6442915/155860838-453dd90f-5e58-495b-976c-f202eb449297.mov

alanlanglois commented 2 years ago

@aytunch Did you find a way?