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