mponkin / fading_edge_scrollview

Flutter library for displaying fading edges on scroll views
BSD 3-Clause "New" or "Revised" License
43 stars 30 forks source link

Add ability to set color of Gradient | Reevaluate Gradients when underlying list changes #22

Closed felixwoestmann closed 11 months ago

felixwoestmann commented 1 year ago

In this PR I took the Version of CoolDude53 (Link) and did the following things:

This version is working as of 11.11.2023

mponkin commented 11 months ago

Thanks for your participation!

mponkin commented 11 months ago

I will use the code to create a new version soon. However I have to note that gradientColor property will be removed since it has no effect. It is only used in gradient calculation which is used as shader mask. So only opacity of this property matters, not real color.

Adding a colored gradient is another task that requires drawing additional layer on top of existing widget. Current purpose of the widget is to make scrollable child inside semi-transparent on edges