Skip to content
pubscout

dots_indicator

5.0.0, released 2 months ago by an unverified publisher

A customizable dots indicator widget to show progression for a PageView.

WASM-readyUses material_ui
$ flutter pub add dots_indicator
Source repository

What it does

Provides a widget that displays a row or column of dots reflecting the current position of a PageView or a custom index. It supports lerp animations between dots, custom shapes, sizes, colors, spacing, and an onTap callback for navigation.

AI-written summary of version 5.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to display a page progression indicator for a PageView or carousel.
  • You need custom styling, shapes, or colors for active and inactive pagination dots.

Skip it when

  • Your application does not use the standalone material_ui package and you cannot migrate or use the compatibility bridge.
  • You are building a complex tab-bar navigation rather than a simple sequential page indicator.

Strengths

  • Highly customizable via DotsDecorator (colors, sizes, shapes, spacing, shadows).
  • Supports smooth lerp animations between positions with double-valued positions.
  • Can be rendered horizontally or vertically and supports reversal.

Weaknesses

  • Requires the standalone material_ui package and specific Flutter/Dart SDK versions starting from version 5.0.0.
  • Limited strictly to dot-based progression visualization.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Requires adding dots_indicator to pubspec.yaml and ensuring the material_ui package requirements are met.

DotsIndicator(
  dotsCount: pageLength,
  position: currentPage,
)

Alternatives

Packages that do the same job and could replace dots_indicator.

Works with

Packages commonly used together with dots_indicator: ones it builds on, ones built on it, and its own family.