InkPageIndicator constructor

InkPageIndicator({
  1. Key? key,
  2. PageIndicatorController? controller,
  3. ValueNotifier<double>? page,
  4. int? pageCount,
  5. InkStyle style = InkStyle.simple,
  6. Color? inkColor,
  7. IndicatorShape? shape,
  8. IndicatorShape? activeShape,
  9. Color activeColor = Colors.black,
  10. Color inactiveColor = Colors.grey,
  11. double gap = 12.0,
  12. double padding = 8.0,
})

Creates a Flutter implementation of the InkPageIndicator.

Implementation

InkPageIndicator({
  Key? key,
  PageIndicatorController? controller,
  ValueNotifier<double>? page,
  int? pageCount,
  this.style = InkStyle.simple,
  this.inkColor,
  IndicatorShape? shape,
  IndicatorShape? activeShape,
  Color activeColor = Colors.black,
  Color inactiveColor = Colors.grey,
  double gap = 12.0,
  double padding = 8.0,
})  : assert(gap >= 0.0),
      super(
        key: key,
        shape: shape,
        page: page,
        pageCount: pageCount,
        activeShape: activeShape,
        controller: controller,
        activeColor: activeColor,
        inactiveColor: inactiveColor,
        gap: gap,
        padding: padding,
      );