Onboarding class

Inheritance

Constructors

Onboarding({Key? key, Color background = util.background, required List<PageModel> pages, required Indicator indicator, required ProceedButtonStyle proceedButtonStyle, SkipButtonStyle skipButtonStyle = const SkipButtonStyle(), EdgeInsets footerPadding = util.footerPadding, EdgeInsets pagesContentPadding = util.pageContentPadding, EdgeInsets titleAndInfoPadding = util.titleAndInfoPadding})
const

Properties

background Color
Change the background of the overall theme. Note that the default is background = const Color.fromARGB(255, 35, 35, 35)
final
footerPadding EdgeInsets
Add padding to the container of indicator widget, skip button, and proceeding button. Note that the default is const EdgeInsets.only(left: 45.0, right: 45.0, bottom: 45.0)
final
hashCode int
The hash code for this object.
no setterinherited
indicator Indicator
Add an indicator widget because it is required. This widget gives you a ranch of choice to pick from DesignType such as polygon_diamond,polygon_arrow,polygon_pentagon,polygon_square,polygon_circle,line_uniform,line_nonuniform
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
pages List<PageModel>
Add pages that are displayed
final
pagesContentPadding EdgeInsets
Add padding to each of the individual pages. Note that the default is pagesContentPadding = const EdgeInsets.only(top: 45.0, left: 45.0, right: 45.0)
final
proceedButtonStyle ProceedButtonStyle
Add a proceeding button required after the user reaches the end of the last page in the pages you provided
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipButtonStyle SkipButtonStyle
Add styling to the skip button
final
titleAndInfoPadding EdgeInsets
Add padding to the title and info container. Note that the default is titleAndInfoPadding = const EdgeInsets.only(top: 45.0)
final

Methods

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