PagerIndicator constructor

const PagerIndicator({
  1. required PagerItemTypes type,
  2. int? index,
  3. int? currentPageIndex,
  4. bool isFocused = false,
  5. BoxBorder? focusBorder,
  6. double borderRadius = 10,
  7. Color pageIndicatorColor = Colors.grey,
  8. Color pageIndicatorActiveColor = Colors.black,
  9. Color checkedPageColor = Colors.black,
  10. BoxDecoration? checkedPageBoxDecoration,
  11. double pageTextSize = 14,
  12. double pageIndicatorHeight = 30,
  13. 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);