Carousel constructor

Carousel({
  1. Key? key,
  2. required Widget child,
  3. required double spinProgress,
  4. double? heightProgress,
  5. Widget? back,
})

Implementation

Carousel({
  Key? key,
  required this.child,
  required this.spinProgress,
  this.heightProgress,
  this.back,
}) : super(key: key, children: back == null ? [child] : [child, back]);