CustomCarouselScrollable constructor
const
CustomCarouselScrollable({
- Key? key,
- ScrollController? controller,
- ScrollPhysics? physics,
- required double itemExtent,
- required ViewportBuilder viewportBuilder,
- String? restorationId,
- ScrollBehavior? scrollBehavior,
- AxisDirection axisDirection = AxisDirection.down,
- bool excludeFromSemantics = false,
- bool loop = false,
- required int itemCount,
Implementation
const CustomCarouselScrollable({
super.key,
super.controller,
super.physics,
required this.itemExtent,
required super.viewportBuilder,
super.restorationId,
super.scrollBehavior,
super.axisDirection,
super.excludeFromSemantics,
this.loop = false,
required this.itemCount,
}) : super(semanticChildCount: itemCount);