SmoothPageIndicator constructor
const
SmoothPageIndicator({
- Key? key,
- required PageController controller,
- required int count,
- Axis axisDirection = Axis.horizontal,
- TextDirection? textDirection,
- OnDotClicked? onDotClicked,
- IndicatorEffect effect = const WormEffect(),
Default constructor
Implementation
const SmoothPageIndicator({
Key? key,
required this.controller,
required this.count,
this.axisDirection = Axis.horizontal,
this.textDirection,
this.onDotClicked,
this.effect = const WormEffect(),
}) : super(key: key);