Skip to content

Flutter library for displaying fading edges on scroll views

License

Notifications You must be signed in to change notification settings

HongZhiQing/fading_edge_scrollview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
  • PageViewFadingEdgeScrollView.fromPageView

View passed as child MUST have controller set. If you want this controller to be disposed when FadingEdgeScrollView is disposed you can pass shouldDisposeScrollController flag set as true to widget constructor.

See documentation and example folder for more information

Demo

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

About

Flutter library for displaying fading edges on scroll views

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 96.5%
  • Swift 1.8%
  • Kotlin 1.5%
  • Objective-C 0.2%