Skip to content
pubscout

page_view_dot_indicator

2.3.0, released 3 years ago by an unverified publisher

A customizable animated dot indicator for PageView widgets.

WASM-ready
$ flutter pub add page_view_dot_indicator
Source repository

What it does

Draws a row of dots representing pages in a PageView. Allows custom colors, sizes, spacing, animation duration and edge fading. Provides an optional click callback for each dot.

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

Use it when

  • You need a simple visual page indicator for a PageView
  • You want to customize dot size, color, spacing, or add click handling

Skip it when

  • You need a full‑featured tab bar or complex pagination UI
  • You require a non‑dot style indicator

Strengths

  • Very easy to integrate
  • Highly customizable (size, color, shape, animation)
  • Works on all Flutter platforms
  • Optional onTap callback for dots

Weaknesses

  • Only provides dot‑style indicators
  • No built‑in theming integration
  • May have performance impact with extremely large page counts

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
PageViewDotIndicator(
  currentItem: selectedPage,
  count: pageCount,
  unselectedColor: Colors.black26,
  selectedColor: Colors.blue,
  size: const Size(12, 12),
  unselectedSize: const Size(8, 8),
  duration: const Duration(milliseconds: 200),
  margin: const EdgeInsets.symmetric(horizontal: 8),
  alignment: Alignment.centerLeft,
  onItemClicked: (index) { /* handle tap */ },
);

Alternatives

Packages that do the same job and could replace page_view_dot_indicator.