PageFlipWidget constructor
const
PageFlipWidget({})
Implementation
const 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,
}) : assert(initialIndex < children.length,
'initialIndex cannot be greater than children length'),
super(key: key);