Pager Progress Bar
A progress bar that shows the current page of a PagerState and, on tablets, allows the user to navigate between pages using next/prev buttons.
Parameters
The PagerState that this indicator should be bound to.
The colours for the next/prev buttons.
The colours for the next/prev buttons when they are disabled.
The colour of the selected indicator item.
The colour of the unselected indicators items.
The content description for the previous button.
The content description for the next button.
Whether to show the next/prev buttons. By default they are enabled on tablet devices (sw600dp
). This is only used when the user uses prev/next buttons to navigate between pages.
Samples
AnimatedPreviewA progress bar that shows the current page of a PagerState and, on tablets, allows the user to navigate between pages using next/prev buttons.
Parameters
The PagerState that this indicator should be bound to.
The priority for the next previous buttons. Priority decides the button colours.
The colour of the selected indicator item.
The colour of the unselected indicators items.
The content description for the previous button.
The content description for the next button.
Whether to show the next/prev buttons. By default they are enabled on tablet devices (sw600dp
). This is only used when the user uses prev/next buttons to navigate between pages.