IntroSlider constructor

const IntroSlider({
  1. Key? key,
  2. List<Slide>? slides,
  3. Color? backgroundColorAllSlides,
  4. Widget? renderSkipBtn,
  5. ButtonStyle? skipButtonStyle,
  6. void onSkipPress()?,
  7. bool? showSkipBtn,
  8. Key? skipButtonKey,
  9. Widget? renderPrevBtn,
  10. ButtonStyle? prevButtonStyle,
  11. bool? showPrevBtn,
  12. Key? prevButtonKey,
  13. Widget? renderDoneBtn,
  14. void onDonePress()?,
  15. ButtonStyle? doneButtonStyle,
  16. bool? showDoneBtn,
  17. Key? doneButtonKey,
  18. Widget? renderNextBtn,
  19. ButtonStyle? nextButtonStyle,
  20. bool? showNextBtn,
  21. dynamic onNextPress()?,
  22. Key? nextButtonKey,
  23. Color? colorActiveDot,
  24. Color? colorDot,
  25. bool? showDotIndicator,
  26. double? sizeDot,
  27. DotSliderAnimation? typeDotAnimation,
  28. List<Widget>? listCustomTabs,
  29. void onTabChangeCompleted(
    1. int index
    )?,
  30. void refFuncGoToTab(
    1. Function function
    )?,
  31. bool? scrollable,
  32. bool? autoScroll,
  33. bool? loopAutoScroll,
  34. bool? pauseAutoPlayOnTouch,
  35. Duration? autoScrollInterval,
  36. Curve? curveScroll,
  37. ScrollPhysics? scrollPhysics,
  38. bool? hideStatusBar,
  39. ScrollbarBehavior? verticalScrollbarBehavior,
  40. IntroSliderNavPosition navPosition = IntroSliderNavPosition.bottom,
})

Implementation

const IntroSlider({
  Key? key,
  // Slides
  this.slides,
  this.backgroundColorAllSlides,

  // Skip
  this.renderSkipBtn,
  this.skipButtonStyle,
  this.onSkipPress,
  this.showSkipBtn,
  this.skipButtonKey,

  // Prev
  this.renderPrevBtn,
  this.prevButtonStyle,
  this.showPrevBtn,
  this.prevButtonKey,

  // Done
  this.renderDoneBtn,
  this.onDonePress,
  this.doneButtonStyle,
  this.showDoneBtn,
  this.doneButtonKey,

  // Next
  this.renderNextBtn,
  this.nextButtonStyle,
  this.showNextBtn,
  this.onNextPress,
  this.nextButtonKey,

  // Dots
  this.colorActiveDot,
  this.colorDot,
  this.showDotIndicator,
  this.sizeDot,
  this.typeDotAnimation,

  // Tabs
  this.listCustomTabs,
  this.onTabChangeCompleted,
  this.refFuncGoToTab,

  // Behavior
  this.scrollable,
  this.autoScroll,
  this.loopAutoScroll,
  this.pauseAutoPlayOnTouch,
  this.autoScrollInterval,
  this.curveScroll,
  this.scrollPhysics,
  this.hideStatusBar,
  this.verticalScrollbarBehavior,
  this.navPosition = IntroSliderNavPosition.bottom,
}) : super(key: key);