Skip to content

Page Control

A customizable page indicator component that displays the current position within a sequence of pages. The Page Control supports both dot and bar styles, making it suitable for various use cases like carousels, onboarding flows, or image galleries.

  • Styles: Dot and bar variants
  • Customization: Colors, sizes, and spacing
  • Background Support: Works on both solid and image backgrounds
  • Interactive: Optional tap handling for direct page navigation

Classic dot-style page indicators.


Modern bar-style page indicators.


Dot indicators optimized for image backgrounds.


Bar indicators optimized for image backgrounds.


PropertyTypeDescription
totalintThe total number of pages.
currentintThe current active page index, 0-based.
activeColorColor?Color of the active indicator. Defaults to accent color.
inactiveColorColor?Color of inactive indicators. Defaults to muted background.
dotSizedoubleSize of dots in dot style. Default: 8.0.
barWidthdoubleWidth of bars in bar style. Default: 32.0.
barHeightdoubleHeight of bars in bar style. Default: 4.0.
spacingdoubleSpace between indicators. Default: 8.0.
onPageTappedValueChanged<int>?Callback when an indicator is tapped.