IntroSlider constructor
const
IntroSlider({
- Key? key,
- List<
Slide> ? slides, - Color? backgroundColorAllSlides,
- Widget? renderSkipBtn,
- ButtonStyle? skipButtonStyle,
- void onSkipPress()?,
- bool? showSkipBtn,
- Key? skipButtonKey,
- Widget? renderPrevBtn,
- ButtonStyle? prevButtonStyle,
- bool? showPrevBtn,
- Key? prevButtonKey,
- Widget? renderDoneBtn,
- void onDonePress()?,
- ButtonStyle? doneButtonStyle,
- bool? showDoneBtn,
- Key? doneButtonKey,
- Widget? renderNextBtn,
- ButtonStyle? nextButtonStyle,
- bool? showNextBtn,
- dynamic onNextPress()?,
- Key? nextButtonKey,
- Color? colorActiveDot,
- Color? colorDot,
- bool? showDotIndicator,
- double? sizeDot,
- DotSliderAnimation? typeDotAnimation,
- List<
Widget> ? listCustomTabs, - void onTabChangeCompleted(
- int index
- void refFuncGoToTab(
- Function function
- bool? scrollable,
- bool? autoScroll,
- bool? loopAutoScroll,
- bool? pauseAutoPlayOnTouch,
- Duration? autoScrollInterval,
- Curve? curveScroll,
- ScrollPhysics? scrollPhysics,
- bool? hideStatusBar,
- ScrollbarBehavior? verticalScrollbarBehavior,
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);