fading_edge_scrollview
提供 FadingEdgeScrollView 的包,可让您构建带有渐隐边缘的可滚动视图
用于在滚动视图上显示渐变边缘的 Flutter 库
以下为英文项目原文快照,最新内容请访问 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.
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗