FadingPresentation constructor

const FadingPresentation({
  1. required int pageIndex,
  2. required List<PresentationSlide> presentationPages,
  3. required PageController pageController,
  4. Duration? duration,
  5. Duration? reverseDuration,
  6. Curve? switchInCurve,
  7. Curve? switchOutCurve,
  8. Key? key,
})

Creates a FadingPresentation widget.

The pageIndex, presentationPages, and pageController arguments must not be null. Optionally, duration, reverseDuration, switchInCurve, and switchOutCurve can be passed to customize the animations.

Implementation

const FadingPresentation({
  required this.pageIndex,
  required this.presentationPages,
  required this.pageController,
  this.duration,
  this.reverseDuration,
  this.switchInCurve,
  this.switchOutCurve,
  super.key,
});