Pager Progress Indicator
A pager progress indicator that displays progress indicators to represent progress in a HorizontalPager or a VerticalPager.
To turn off item scaling, set unselectedItemScaleFactor to 1f
.
Parameters
The PagerState that this indicator should be bound to.
The colour to use for the selected page indicator.
The colour to use for the unselected page indicator.
The modifier to apply to the layout.
The maximum number of indicators to display. The maximum is constrained to the number of pages in the PagerState. The count will be scaled down to the next lower odd number if its even.
Horizontal spacing between indicator. Defaults to DefaultItemSpacing.
The shape to use for the indicator. Defaults to CircleShape.
The size of each item. Defaults to DefaultSelectedItemSize.
The scaling factor for unselected items as a ratio of the selectedItemSize. Set this to 1F
to disable scaling.
The number of items to scale in size. This will be scaled down to the next lower odd number if its even.
The vertical alignment to use for the items. Defaults to Alignment.CenterVertically.