IntroScreens class

Inheritance

Constructors

IntroScreens({required List<IntroScreen> slides, double footerRadius = 12.0, List<Color> footerGradients = const [], Color containerBg = Colors.white, required Function onDone, IndicatorType indicatorType = IndicatorType.CIRCLE, String appTitle = '', ScrollPhysics physics = const BouncingScrollPhysics(), Function? onSkip, Widget? nextWidget, Widget? doneWidget, Color activeDotColor = Colors.white, Color? inactiveDotColor, String skipText = 'skip', double viewPortFraction = 1.0, Color textColor = Colors.white, EdgeInsets footerPadding = const EdgeInsets.all(24), Color footerBgColor = const Color(0xff51adf6)})
const

Properties

activeDotColor Color
set the color of the active indicator Color
final
appTitle String
final
containerBg Color
Color sets the wrapper container's background color, defaults to white
final
doneWidget Widget?
sets the done widget, the one used to end the slides Widget
final
footerBgColor Color
sets the background color of the footer part of your slides Color
final
footerGradients List<Color>
sets the colors of the gradient for the footer widget of your slides List<Color>
final
footerPadding EdgeInsets
sets the padding of the footer part of your slides EdgeInsets
final
footerRadius double
set the radius of the footer part of your slides double
final
hashCode int
The hash code for this object.
no setterinherited
inactiveDotColor Color?
set the color of an inactive indicator Color
final
indicatorType IndicatorType
sets the indicator type for your slides IndicatorType
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
nextWidget Widget?
sets the next widget, the one used to move to the next screen Widget
final
onDone Function
defines what to do when the last slide is reached Function
final
onSkip Function?
defines what to do when the skip button is tapped Function
final
physics ScrollPhysics
ScrollPhysics sets the physics for the page view
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipText String
sets the skip widget text String
final
slides List<IntroScreen>
sets your slides List<IntroScreen>
final
textColor Color
sets the text color of your slides Color
final
viewPortFraction double
sets the viewport fraction of your controller double
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _IntroScreensState
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