PagerIndicator constructor
const
PagerIndicator({
- required PagerItemTypes type,
- int? index,
- int? currentPageIndex,
- bool isFocused = false,
- BoxBorder? focusBorder,
- double borderRadius = 10,
- Color pageIndicatorColor = Colors.grey,
- Color pageIndicatorActiveColor = Colors.black,
- Color checkedPageColor = Colors.black,
- BoxDecoration? checkedPageBoxDecoration,
- double pageTextSize = 14,
- double pageIndicatorHeight = 30,
- Key? key,
Implementation
const PagerIndicator({
required this.type,
this.index,
this.currentPageIndex,
this.isFocused = false,
this.focusBorder,
this.borderRadius = 10,
this.pageIndicatorColor = Colors.grey,
this.pageIndicatorActiveColor = Colors.black,
this.checkedPageColor = Colors.black,
this.checkedPageBoxDecoration,
this.pageTextSize = 14,
this.pageIndicatorHeight = 30,
Key? key,
}):super(key: key);