flutter-draggable-scrollbar icon indicating copy to clipboard operation
flutter-draggable-scrollbar copied to clipboard

fix #4 - use draggable scrollbar with sliver list

Open Miolin opened this issue 5 years ago • 4 comments

change BoxScrollView to Widget

Miolin avatar Dec 30 '18 11:12 Miolin

Can this be pushed to a new pub release?

jeprojects avatar Jun 07 '19 06:06 jeprojects

Have you tested this? Doesn't work for me inside CustomScrollView with sliver children. I'm trying to use it as a parent of SliverList.

A RenderViewport expected a child of type RenderSliver but received a child of type _RenderLayoutBuilder.

It works for me. Just regard a CustomScrollView with sliver children as a ListView in the example.

not working for me as well. i have customSCrollView and sliverList with sliverAppBar. could you please share your widget tree

Just looks like tihs↓ (myStickyBar is a sliverAppBar Snipaste_2020-02-25_11-44-33 PS:You may need to change BoxScrollView to Widget following the commit above firstly.

But in your case wraps whole CustomScrollView, app bar too and scrollbar will be above it. Is it possible to wrap only SliverList?

DenchikBY avatar Mar 16 '20 17:03 DenchikBY

This PR is open since 2018... Is there any obvious issue with it?

vauvenal5 avatar Feb 05 '21 09:02 vauvenal5

@Rizwan-Raza I get this error only when I pass ListView with shrinkWrap: true

emvaized avatar Dec 15 '21 14:12 emvaized