CarouselRenderObject constructor
CarouselRenderObject({
- TextDirection? textDirection,
- double? heightProgress,
- 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;
}