Skip to content

Edited to fix the null safety issue of the previous "fading_edge_scroll_view" version

License

Notifications You must be signed in to change notification settings

jtibbles/fading_edge_scrollview

 
 

Repository files navigation

fading_edge_scrollview

Package providing FadingEdgeScrollView which allows you to build scrollable views with fading edges

Usage

Create FadingEdgeScrollView by calling one of constructors depending on your scroll view class. Unfortunately scrollable view don't share same interface so there are separate constructors for:

  • ScrollView (most scrollable views inherit from this class) FadingEdgeScrollView.fromScrollView
  • SingleChildScrollView FadingEdgeScrollView.fromSingleChildScrollView
  • PageView FadingEdgeScrollView.fromPageView
  • AnimatedList FadingEdgeScrollView.fromAnimatedList
  • ListWheelScrollView FadingEdgeScrollView.fromListWheelScrollView

View passed as child MUST have controller set.

See documentation and example folder for more information

Breaking change in version 4.0.0

Field shouldDisposeScrollController was removed. I was not realizing how widgets should work when I added it. If you were using it - move scrollController creation and disposal to some StatefulWidget.

Demo

Click to see on Youtube:
ListView with images demo ListView demo PageView demo SingleChildScrollView demo

About

Edited to fix the null safety issue of the previous "fading_edge_scroll_view" version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 43.8%
  • C++ 27.2%
  • CMake 22.9%
  • HTML 2.2%
  • Swift 2.0%
  • C 1.7%
  • Other 0.2%