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

Arrow become invisible if passing Colors.Grey as background color #10

Open volgin opened 5 years ago

volgin commented 5 years ago

Version 0.0.4

Since you allow to pass background color, it probably makes sense to allow customizing arrow colors, e.g. replace:

foregroundPainter: ArrowCustomPainter(Colors.grey),

with:

foregroundPainter: ArrowCustomPainter(arrowColor),

where arrowColor can be provided in a constructor.

lwwells commented 11 months ago

I would like to second the idea of a configurable arrow color. In our app, all of the calls to action are of a particular background color and text/icon color. I'd like to make the arrow scroller adhere to that design. Any chance of implementation? Thanks!