KinPageView.stack constructor
const
KinPageView.stack({
- Key? key,
- required List<
Widget> children, - KinPageIndicator indicator = KinPageIndicator.dot,
- int initialPage = 0,
- bool enableLoop = false,
- Axis scrollDirection = Axis.horizontal,
- ScrollPhysics? physics,
- double? height,
- bool pageSnapping = true,
- ValueChanged<
int> ? onPageChanged, - 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;