ModulaAnimatedCarousel constructor
const
ModulaAnimatedCarousel({
- required List<
Widget> items, - Key? key,
- double height = 200,
- Duration animationDuration = const Duration(milliseconds: 500),
- bool autoPlay = true,
- bool loop = true,
- CarouselIndicatorEffect effect = CarouselIndicatorEffect.worm,
- Color activeDotColor = Colors.blue,
- Color inactiveDotColor = Colors.black26,
- Axis scrollDirection = Axis.horizontal,
- bool reverse = false,
Implementation
const ModulaAnimatedCarousel({
required this.items,
super.key,
this.height = 200,
this.animationDuration = const Duration(milliseconds: 500),
this.autoPlay = true,
this.loop = true,
this.effect = CarouselIndicatorEffect.worm,
this.activeDotColor = Colors.blue,
this.inactiveDotColor = Colors.black26,
this.scrollDirection = Axis.horizontal,
this.reverse = false,
});