YaruCarousel constructor

const YaruCarousel({
  1. Key? key,
  2. double height = 500,
  3. double width = 500,
  4. YaruCarouselController? controller,
  5. required List<Widget> children,
  6. bool placeIndicator = true,
  7. double placeIndicatorMarginTop = 12.0,
  8. bool navigationControls = false,
  9. Widget? previousIcon,
  10. Widget? nextIcon,
})

Creates a YaruCarousel.

Implementation

const YaruCarousel({
  super.key,
  this.height = 500,
  this.width = 500,
  this.controller,
  required this.children,
  this.placeIndicator = true,
  this.placeIndicatorMarginTop = 12.0,
  this.navigationControls = false,
  this.previousIcon,
  this.nextIcon,
});