KinPageView constructor

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

Implementation

const KinPageView({
  super.key,
  required this.children,
  this.transition = KinPageTransition.slide,
  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,
});