fromSlideshowPage static method

SlideshowPageWidget fromSlideshowPage(
  1. SlideshowPage slideshowPage,
  2. VoidCallback nextPressed, {
  3. bool scrollable = _DEFAULT_SCROLLABLE_VALUE,
  4. required Duration animationDuration,
  5. required Duration animationDelay,
  6. 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,
    );