CarouselControl.start constructor

const CarouselControl.start({
  1. Key? key,
  2. VoidCallback? onNext,
  3. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 24.0),
})

Convenience constructor for carousel at the start position.

Implementation

const CarouselControl.start({
  super.key,
  this.onNext,
  this.padding = const EdgeInsets.symmetric(horizontal: 24.0),
})  : position = CarouselControlPosition.start,
      onPrevious = null,
      canPrevious = false,
      canNext = true;