page_view_dot_indicator
2.3.0, released 3 years ago by an unverified publisher
A customizable animated dot indicator for PageView widgets.
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.
- smooth_page_indicator
Customizable animated page indicators with a set of built-in effects for Flutter.
83Compare - dots_indicator
A customizable dots indicator widget to show progression for a PageView.
81Compare - flutter_carousel_widget
A Flutter carousel with ten composable effects, autoplay, indicators, and accessibility.
86Compare - jumping_dot
An animated jumping dot indicator widget for Flutter applications.
50Compare