LinearStepIndicator class

Inheritance

Constructors

LinearStepIndicator({Key? key, required int steps, required PageController controller, Color activeBorderColor = kActiveColor, Color inActiveBorderColor = kInActiveColor, Color activeLineColor = kActiveLineColor, Color inActiveLineColor = kInActiveLineColor, Color activeNodeColor = kActiveColor, Color inActiveNodeColor = kInActiveNodeColor, double iconSize = kIconSize, IconData completedIcon = kCompletedIcon, double nodeThickness = kDefaultThickness, double nodeSize = kDefaultSize, double verticalPadding = kDefaultSize, double lineHeight = kDefaultLineHeight, BoxShape shape = BoxShape.circle, Color iconColor = kIconColor, Color backgroundColor = kIconColor, Complete? complete, List<String> labels = const <String>[], TextStyle? activeLabelStyle, TextStyle? inActiveLabelStyle})
const

Properties

activeBorderColor Color
Color of each completed node border
final
activeLabelStyle TextStyle?
Textstyle for an active label
final
activeLineColor Color
Color of each separating line after a completed node
final
activeNodeColor Color
Background color of a completed node
final
backgroundColor Color
Step indicator's background color
final
complete → Complete?
Boolean function that returns true when last node should be completed
final
completedIcon IconData
Icon showed when a step is completed
final
controller PageController
Controller for tracking page changes.
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color
completedIcon color
final
iconSize double
completedIcon size
final
inActiveBorderColor Color
Color of each uncompleted node border
final
inActiveLabelStyle TextStyle?
Textstyle for an inactive label
final
inActiveLineColor Color
Color of each separating line after an uncompleted node
final
inActiveNodeColor Color
Background color of an uncompleted node
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labels List<String>
Labels for individual nodes
final
lineHeight double
Height of separating line
final
nodeSize double
Size of each node
final
nodeThickness double
Thickness of node's borders
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape BoxShape
Node's shape
final
steps int
Number of nodes to paint on screen
final
verticalPadding double
Step indicator's vertical padding
final

Methods

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