FadingPresentation constructor
const
FadingPresentation({
- required int pageIndex,
- required List<
PresentationSlide> presentationPages, - required PageController pageController,
- Duration? duration,
- Duration? reverseDuration,
- Curve? switchInCurve,
- Curve? switchOutCurve,
- 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,
});