IntroScreens class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- IntroScreens
Constructors
-
IntroScreens({required List<
IntroScreen> slides, 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, }) -
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
-
sets the background color of the footer part of your slides
Color
final
-
sets the colors of the gradient for the footer widget of your slides
List<Color>
final
-
sets the padding of the footer part of your slides
EdgeInsets
final
-
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