CardsReelView constructor

CardsReelView({
  1. required List<Widget> children,
  2. required double itemExtent,
  3. required double itemHeaderExtent,
  4. int? itemCount,
  5. int maxScrollPagesAtOnce = 1,
  6. bool scrollToEnd = true,
  7. bool openFirstItem = true,
  8. Axis scrollDirection = Axis.vertical,
  9. ScrollController? controller,
  10. ScrollPhysics? physics,
  11. Key? key,
})

Implementation

CardsReelView({
  required List<Widget> children,
  required this.itemExtent,
  required this.itemHeaderExtent,
  this.itemCount,
  this.maxScrollPagesAtOnce = 1,
  this.scrollToEnd = true,
  this.openFirstItem = true,
  this.scrollDirection = Axis.vertical,
  this.controller,
  this.physics,
  super.key,
}) {
  itemBuilder = (context, index) => children[index];
}