scroll_indicator
0.0.3, released 6 years ago by saddamnur.xyz
Scroll indicator widget inspired by the Shopee app.
What it does
Provides a customizable scroll indicator widget that listens to a listview or gridview scroll controller. It allows developers to configure width, height, indicator width, and decorations for both the track and the indicator.
AI-written summary of version 0.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a custom Shopee-style scroll indicator for a ListView or GridView
- You need a visual indicator tied to a ScrollController with custom decorations
Skip it when
- You do not use a ScrollController
- You require complex platform-specific scroll behaviors not covered by basic controllers
Strengths
- Easy to integrate with existing ScrollControllers
- Supports customizable decorations and dimensions
Weaknesses
- Very limited documentation and options beyond basic styling
- No documented advanced configurations
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ScrollIndicator(
scrollController: scrollController,
width: 50,
height: 5,
indicatorWidth: 20,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.grey[300]),
indicatorDecoration: BoxDecoration(
color: Colors.deepOrange,
borderRadius: BorderRadius.circular(10)),
)Alternatives
Packages that do the same job and could replace scroll_indicator.
- nested_scroll_views
Flutter nested scrolling with drag handoff at scroll boundaries for multiple scroll views.
76Compare - paging_view
Flutter widgets for infinite‑scroll, paginated lists, grids and slivers with data‑source control.
71Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare - animated_reorderable
Animated, draggable reorderable ListView/GridView with built‑in swipe‑to‑delete.
73Compare