AdvancedPageTurn constructor

const AdvancedPageTurn({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 450),
  3. double cutoff = 0.6,
  4. Color backgroundColor = const Color(0xFFFFFFCC),
  5. required List<Widget> children,
  6. int initialIndex = 0,
  7. Widget? lastPage,
  8. bool showDragCutoff = false,
  9. ValueChanged<int>? onPageChanged,
})

Implementation

const AdvancedPageTurn({
  Key? key,
  this.duration = const Duration(milliseconds: 450),
  this.cutoff = 0.6,
  this.backgroundColor = const Color(0xFFFFFFCC),
  required this.children,
  this.initialIndex = 0,
  this.lastPage,
  this.showDragCutoff = false,
  this.onPageChanged
}) : super(key: key);