KinPageView.stack constructor

const KinPageView.stack({
  1. Key? key,
  2. required List<Widget> children,
  3. KinPageIndicator indicator = KinPageIndicator.dot,
  4. int initialPage = 0,
  5. bool enableLoop = false,
  6. Axis scrollDirection = Axis.horizontal,
  7. ScrollPhysics? physics,
  8. double? height,
  9. bool pageSnapping = true,
  10. ValueChanged<int>? onPageChanged,
  11. EdgeInsetsGeometry? padding,
})

Convenience for stacked card pages.

Implementation

const KinPageView.stack({
  super.key,
  required this.children,
  this.indicator = KinPageIndicator.dot,
  this.initialPage = 0,
  this.enableLoop = false,
  this.scrollDirection = Axis.horizontal,
  this.physics,
  this.height,
  this.pageSnapping = true,
  this.onPageChanged,
  this.padding,
}) : transition = KinPageTransition.stack;