CustomCarouselScrollable constructor

const CustomCarouselScrollable({
  1. Key? key,
  2. ScrollController? controller,
  3. ScrollPhysics? physics,
  4. required double itemExtent,
  5. required ViewportBuilder viewportBuilder,
  6. String? restorationId,
  7. ScrollBehavior? scrollBehavior,
  8. AxisDirection axisDirection = AxisDirection.down,
  9. bool excludeFromSemantics = false,
  10. bool loop = false,
  11. 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);