PageIndicatorWidget constructor

const PageIndicatorWidget({
  1. Key? key,
  2. required int currentIndex,
  3. required int pageCount,
  4. Color color = RoomColors.grey,
  5. Color activeColor = Colors.white,
  6. double indicatorSize = 6,
  7. EdgeInsetsGeometry indicatorPadding = const EdgeInsets.symmetric(horizontal: 4),
  8. IndicatorShape shape = IndicatorShape.circle,
  9. IndicatorAlign align = IndicatorAlign.bottom,
  10. double spacing = 4,
})

Implementation

const PageIndicatorWidget({
  Key? key,
  required this.currentIndex,
  required this.pageCount,
  this.color = RoomColors.grey,
  this.activeColor = Colors.white,
  this.indicatorSize = 6,
  this.indicatorPadding = const EdgeInsets.symmetric(horizontal: 4),
  this.shape = IndicatorShape.circle,
  this.align = IndicatorAlign.bottom,
  this.spacing = 4,
}) : super(key: key);