dots_indicator
5.0.0, released 2 months ago by an unverified publisher
A customizable dots indicator widget to show progression for a PageView.
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.
- smooth_page_indicator
Customizable animated page indicators with a set of built-in effects for Flutter.
83Compare - page_view_indicators
Customizable page indicators for PageViews including circles, arrows, progress, and steps.
48Compare - rolling_bottom_bar
Dynamic bottom navigation bar with an animated ball indicator
72Compare - linear_progress_bar
Customizable progress indicators, gauges, circular percent indicators, and dots in Flutter.
62Compare
Works with
Packages commonly used together with dots_indicator: ones it builds on, ones built on it, and its own family.
- material_uidots_indicator depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- introduction_screenBuilt on dots_indicatorAn introduction and onboarding screen package for Flutter apps.
- cupertino_onboardingBuilt on dots_indicatorProvides an iOS-style onboarding experience with Flutter widgets.