CarouselControl.start constructor
const
CarouselControl.start({
- Key? key,
- VoidCallback? onNext,
- 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;