InfinityPageView constructor

InfinityPageView({
  1. Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. required int itemCount,
  4. InfinityPageController? controller,
  5. ScrollPhysics? physics,
  6. ValueChanged<int>? onPageChanged,
  7. Axis scrollDirection = Axis.horizontal,
  8. bool reverse = false,
  9. bool pageSnapping = true,
})

constructor

Implementation

InfinityPageView({
  Key? key,
  required this.itemBuilder,
  required this.itemCount,
  this.controller,
  this.physics,
  this.onPageChanged,
  this.scrollDirection = Axis.horizontal,
  this.reverse = false,
  this.pageSnapping = true,
});