IntroSlider class

Inheritance

Constructors

IntroSlider({Key? key, List<ContentConfig>? listContentConfig, Color? backgroundColorAllTabs, List<Widget>? listCustomTabs, void onTabChangeCompleted(int index)?, void refFuncGoToTab(Function function)?, Widget? renderSkipBtn, ButtonStyle? skipButtonStyle, void onSkipPress()?, bool? isShowSkipBtn, Key? skipButtonKey, Widget? renderPrevBtn, ButtonStyle? prevButtonStyle, bool? isShowPrevBtn, Key? prevButtonKey, Widget? renderDoneBtn, void onDonePress()?, ButtonStyle? doneButtonStyle, bool? isShowDoneBtn, Key? doneButtonKey, Widget? renderNextBtn, ButtonStyle? nextButtonStyle, bool? isShowNextBtn, dynamic onNextPress()?, Key? nextButtonKey, IndicatorConfig? indicatorConfig, NavigationBarConfig? navigationBarConfig, bool? isScrollable, bool? isAutoScroll, bool? isLoopAutoScroll, bool? isPauseAutoPlayOnTouch, Duration? autoScrollInterval, Curve? curveScroll, ScrollPhysics? scrollPhysics})
const

Properties

autoScrollInterval Duration?
Sets duration to determine the frequency of slides
final
backgroundColorAllTabs Color?
Background color for all tabs
final
curveScroll Curve?
Set transition animation curves (also effect to indicator when it's sliding)
final
doneButtonKey Key?
Assign key to DONE button
final
doneButtonStyle ButtonStyle?
Render your own style NEXT button
final
hashCode int
The hash code for this object.
no setterinherited
indicatorConfig IndicatorConfig?
Custom indicators
final
isAutoScroll bool?
Enable auto scroll slides
final
isLoopAutoScroll bool?
Loop transition by go to first slide when reach the end
final
isPauseAutoPlayOnTouch bool?
Auto scroll will be paused if user touch to slide
final
isScrollable bool?
Whether or not the slider is scrollable (or controlled only by buttons)
final
isShowDoneBtn bool?
Show or hide DONE button
final
isShowNextBtn bool?
Show or hide NEXT button
final
isShowPrevBtn bool?
Show or hide PREV button (only visible if skip is hidden)
final
isShowSkipBtn bool?
Show or hide SKIP button
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listContentConfig List<ContentConfig>?
An array of ContentConfig
final
listCustomTabs List<Widget>?
Render your own widget list tabs
final
Custom the position of navigation bar
final
nextButtonKey Key?
Assign key to NEXT button
final
nextButtonStyle ButtonStyle?
Render your own style NEXT button
final
onDonePress → (void Function()?)
Fire when press DONE button
final
onNextPress → (dynamic Function()?)
Fire when press NEXT button
final
onSkipPress → (void Function()?)
Fire when press SKIP button
final
onTabChangeCompleted → (void Function(int index)?)
Notify when tab change completed
final
prevButtonKey Key?
Assign key to PREV button
final
prevButtonStyle ButtonStyle?
Render your own style PREV button
final
refFuncGoToTab → (void Function(Function function)?)
Ref function go to specific tab index
final
renderDoneBtn Widget?
Render your own widget DONE button
final
renderNextBtn Widget?
Render your own widget NEXT button
final
renderPrevBtn Widget?
Render your own widget PREV button
final
renderSkipBtn Widget?
Render your own widget SKIP button
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPhysics ScrollPhysics?
Determines the physics horizontal scroll for the slides
final
skipButtonKey Key?
Assign key to SKIP button
final
skipButtonStyle ButtonStyle?
Render your own style SKIP button
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() IntroSliderState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited