PageFlipWidget constructor
PageFlipWidget({})
Implementation
PageFlipWidget(
{Key? key,
this.duration = const Duration(milliseconds: 450),
this.cutoffForward = 0.8,
this.cutoffPrevious = 0.1,
this.backgroundColor = Colors.white,
required this.children,
this.initialIndex = 0,
this.lastPage,
this.isRightSwipe = false,
required this.onPageFlip})
: assert(initialIndex < children.length,
'initialIndex cannot be greater than children length'),
super(key: key);