Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make Fading effect appear automatically when Listview is scrollable? #19

Closed
trantruongan136 opened this issue Oct 25, 2022 · 2 comments

Comments

@trantruongan136
Copy link

I am using a SingleChildScrollView and inside is an AnimatedList that can automatically scroll down to the last item. I found that the effect only appeared when I was using my hand and scrolling. I want to know is there a way to make the Fading effect appear automatically when the Listview is scrollable?

@CoolDude53
Copy link
Contributor

CoolDude53 commented Nov 4, 2022

@trantruongan136 I made a fork that implements this. If you pass through the child scrollview's list to the FadingEdgeScrollView with the new scrollViewList paramenter, the FadingEdgeScrollView will update anytime the underlying list changes. You can use this until this functionality is properly added to the plugin.

To import in your pubspec.yaml use:

 fading_edge_scrollview:
    git:
     url: https://github.com/CoolDude53/fading_edge_scrollview.git
     ref: master

@mponkin
Copy link
Owner

mponkin commented Nov 27, 2023

fixed in version 4.0.0

@mponkin mponkin closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants