ModulaAnimatedCarousel constructor

const ModulaAnimatedCarousel({
  1. required List<Widget> items,
  2. Key? key,
  3. double height = 200,
  4. Duration animationDuration = const Duration(milliseconds: 500),
  5. bool autoPlay = true,
  6. bool loop = true,
  7. CarouselIndicatorEffect effect = CarouselIndicatorEffect.worm,
  8. Color activeDotColor = Colors.blue,
  9. Color inactiveDotColor = Colors.black26,
  10. Axis scrollDirection = Axis.horizontal,
  11. 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,
});