fluttercommunity / flutter-draggable-scrollbar

Draggable Scrollbar - A scrollbar that can be dragged for quickly navigation through a vertical list. Additional option is showing label next to scrollthumb with information about current item. Maintainer: @marica27
https://pub.dev/packages/draggable_scrollbar
MIT License
441 stars 77 forks source link

DraggableScrollbar does not work with AnimatedList #15

Closed ThinkDigitalSoftware closed 5 years ago

ThinkDigitalSoftware commented 5 years ago

Since it takes a BoxScrollView child and AnimatedList is a StatefulWidget, it won't work, even though I can provide a ScrollController

ThinkDigitalSoftware commented 5 years ago

Simply removing the assertions to check if the scrollDirection is true and allowing the child to be a widget works, however, it doesn't guarantee that that widget won't be a non-scrollable element

ThinkDigitalSoftware commented 5 years ago

Realized this is a dupe of https://github.com/fluttercommunity/flutter-draggable-scrollbar/issues/9