CarouselRenderObject constructor

CarouselRenderObject({
  1. TextDirection? textDirection,
  2. double? heightProgress,
  3. required double spinProgress,
})

Implementation

CarouselRenderObject({
  TextDirection? textDirection,
  double? heightProgress,
  required double spinProgress,
}) : super(
        textDirection: textDirection,
        fit: StackFit.loose,
        clipBehavior: Clip.hardEdge,
      ) {
  _spinProgress = spinProgress;
  _heightProgress = _heightProgress;
}