Enabling fast scroll on flutter's Scrollbar?
Android provides this concept of fast scroll what is useful for large lists.
I’m doing a flutter app, with this piece of code:
body: Scrollbar( child: ListView( …
On iOS and on mac it is possible to drag the scrollbar and achieve the same effect of fast scroll, but on android the scroll bar is just visual, I can’t interact with it to fast scrolling the list.
My question is: is it possible to enable the "fast scroll" on android?
In order to make Scrollbar work you have to set
interactive: true. Please have a look below:
Scrollbar( thickness: 10, interactive: true, isAlwaysShown: true, controller: scrollController, child:ListView(), )
isAlwaysShown modified to make it easier for testing)
Answered By – Paul