Skip to content
pubscout

scroll_indicator

0.0.3, released 6 years ago by saddamnur.xyz

Scroll indicator widget inspired by the Shopee app.

WASM-ready
$ flutter pub add scroll_indicator
Source repository

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.