CarouselControl.end constructor

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

Convenience constructor for carousel at the end position.

Implementation

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