SlideshowPageWidget constructor

const SlideshowPageWidget({
  1. Key? key,
  2. required String titleText,
  3. Widget? icon,
  4. String? captionText,
  5. Widget? captionWidget,
  6. VoidCallback? nextPressed,
  7. bool? centerTitle,
  8. bool scrollable = _DEFAULT_SCROLLABLE_VALUE,
  9. String? buttonText,
  10. Widget? bottomWidget,
  11. Color? nextButtonTextColor,
  12. required Duration animationDelay,
  13. required Duration animationDuration,
  14. required Curve animationCurve,
})

caption Text or Caption Widget are Required

Implementation

const SlideshowPageWidget({
  Key? key,
  required this.titleText,
  this.icon,
  this.captionText,
  this.captionWidget,
  this.nextPressed,
  this.centerTitle,
  this.scrollable = _DEFAULT_SCROLLABLE_VALUE,
  this.buttonText,
  this.bottomWidget,
  this.nextButtonTextColor,
  required this.animationDelay,
  required this.animationDuration,
  required this.animationCurve,
}) : super(key: key);