fading_edge_scrollview
提供 FadingEdgeScrollView 的包,可让您构建带有渐隐边缘的可滚动视图
用于在滚动视图上显示渐变边缘的 Flutter 库
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1以下为英文项目原文快照,最新内容请访问 GitHub。
Package providing FadingEdgeScrollView which allows you to build scrollable views with fading edges
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:
FadingEdgeScrollView.fromScrollViewFadingEdgeScrollView.fromSingleChildScrollViewFadingEdgeScrollView.fromPageViewFadingEdgeScrollView.fromAnimatedListFadingEdgeScrollView.fromListWheelScrollViewView passed as child MUST have controller set.
See documentation and example folder for more information
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.
Click to see on Youtube:
ListView with images demo
ListView demo
PageView demo
SingleChildScrollView demo