AnimatedSmoothIndicator constructor
const
AnimatedSmoothIndicator({
- Key? key,
- required int activeIndex,
- required int count,
- Axis axisDirection = Axis.horizontal,
- TextDirection? textDirection,
- dynamic onDotClicked(
- int index
- IndicatorEffect effect = const WormEffect(),
- Curve curve = Curves.easeInOut,
- Duration duration = const Duration(milliseconds: 300),
- VoidCallback? onEnd,
Default constructor
Implementation
const AnimatedSmoothIndicator({
Key? key,
required this.activeIndex,
required this.count,
this.axisDirection = Axis.horizontal,
this.textDirection,
this.onDotClicked,
this.effect = const WormEffect(),
Curve curve = Curves.easeInOut,
Duration duration = const Duration(milliseconds: 300),
VoidCallback? onEnd,
}) : super(
key: key,
duration: duration,
curve: curve,
onEnd: onEnd,
);