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
Is it possible to hide the scroll thumb if the list of items doesn't take an entire page?
I tried creating a custom scroll indicator, and setting it to an empty container if the list of items is less than 20 items for example. But if I do that I can't show the labelTextBuilder or use DraggableScrollbar.arrows
I would also like to know how to hide the scroll indicator if the user is using pull-to-refresh.
Is it possible to hide the scroll thumb if the list of items doesn't take an entire page? I tried creating a custom scroll indicator, and setting it to an empty container if the list of items is less than 20 items for example. But if I do that I can't show the
labelTextBuilder
or useDraggableScrollbar.arrows
I would also like to know how to hide the scroll indicator if the user is using pull-to-refresh.
(Current simple solution: list.length > 8 ? DraggableScrollbar(list) : list)
Other question: How can I reset the scroll indicator position?