fading_edge_scrollview
4.1.1, released 3 years ago by ponkin.dev
Build scrollable views with fading edges.
What it does
Provides FadingEdgeScrollView to easily add fading edges to different scrollable views like ScrollView, SingleChildScrollView, PageView, AnimatedList, and ListWheelScrollView. It automatically hides the fade if the content is too small to be scrollable.
AI-written summary of version 4.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a visual indicator that scrollable content extends beyond the current viewport.
- You are using standard scrollable widgets and want fading edges applied easily.
Skip it when
- The child scrollable view does not have a controller set.
- You need custom scroll effects outside of the supported constructors.
Strengths
- Supports multiple scrollable view types via dedicated constructors.
- Automatically hides fades when content is too small to scroll.
Weaknesses
- Requires the child view to explicitly have a controller set.
- Scroll controller creation and disposal must be handled manually by a StatefulWidget after version 4.0.0.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
FadingEdgeScrollView.fromScrollView(
gradientFraction: 0.1,
child: ListView.builder(
controller: _scrollController,
itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
),
)Alternatives
Packages that do the same job and could replace fading_edge_scrollview.
- docx_viewer
Displays DOCX files across Flutter platforms
62Compare - waterfall_flow
A Flutter grid view that builds waterfall flow layouts quickly.
61Compare - vertical_scrollable_tabview
A Flutter widget that synchronizes a ScrollView and a custom tab view.
56Compare - scrollable_tab_view
A vertical scrollable tab bar widget for Flutter layouts.
60Compare
Works with
Packages commonly used together with fading_edge_scrollview: ones it builds on, ones built on it, and its own family.