fromSlideshowPage static method
SlideshowPageWidget
fromSlideshowPage(
- SlideshowPage slideshowPage,
- VoidCallback nextPressed, {
- bool scrollable = _DEFAULT_SCROLLABLE_VALUE,
- required Duration animationDuration,
- required Duration animationDelay,
- required Curve animationCurve,
Implementation
static SlideshowPageWidget fromSlideshowPage(
final SlideshowPage slideshowPage,
final VoidCallback nextPressed, {
final bool scrollable = _DEFAULT_SCROLLABLE_VALUE,
required final Duration animationDuration,
required final Duration animationDelay,
required final Curve animationCurve,
}) =>
SlideshowPageWidget(
titleText: slideshowPage.titleText,
captionText: slideshowPage.captionText,
icon: slideshowPage.icon,
captionWidget: slideshowPage.captionWidget,
nextPressed: nextPressed,
buttonText: slideshowPage.buttonText,
centerTitle: slideshowPage.centerTitle,
scrollable: scrollable,
bottomWidget: slideshowPage.bottomWidget,
nextButtonTextColor: slideshowPage.nextButtonTextColor,
animationDuration: animationDuration,
animationDelay: animationDelay,
animationCurve: animationCurve,
);