InkPageIndicator constructor
InkPageIndicator({
- Key? key,
- PageIndicatorController? controller,
- ValueNotifier<
double> ? page, - int? pageCount,
- InkStyle style = InkStyle.simple,
- Color? inkColor,
- IndicatorShape? shape,
- IndicatorShape? activeShape,
- Color activeColor = Colors.black,
- Color inactiveColor = Colors.grey,
- double gap = 12.0,
- 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,
);