StepIndicator class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- StepIndicator
Constructors
-
StepIndicator.new({Key? key, List<
String> steps = const ["Request", "Pending", "Confirmed", "Completed"], StepIndicatorState? state, double circleRadius = 20.0, double lineHeight = 8.0, double fontSize = 10.0, double paddingHorizontal = 32.0, double sideLineLength = 20.0, Color activeColor = const Color(0xff003285), Color inactiveColor = const Color(0xFFB0BEC5), Color activeLineColor = const Color(0xFF1A237E), Color inactiveLineColor = const Color(0xFFE0E0E0), IconData activeIcon = Icons.check, IconData leftArrowIcon = Icons.arrow_right_alt, IconData rightArrowIcon = Icons.arrow_right_alt, double iconSize = 20.0, TextStyle? labelTextStyle, Duration animationDuration = const Duration(milliseconds: 300), Widget? previousButton, Widget? nextButton, bool showStepsText = true, bool allowCircleTap = true, int initialStep = 0, void onStepChanged(int)?, StepIndicatorDesign design = StepIndicatorDesign.circle}) -
const
Properties
- activeColor → Color
-
final
- activeIcon → IconData
-
final
- activeLineColor → Color
-
final
- allowCircleTap → bool
-
final
- animationDuration → Duration
-
final
- circleRadius → double
-
final
- design → StepIndicatorDesign
-
final
- fontSize → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconSize → double
-
final
- inactiveColor → Color
-
final
- inactiveLineColor → Color
-
final
- initialStep → int
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- labelTextStyle → TextStyle?
-
final
- leftArrowIcon → IconData
-
final
- lineHeight → double
-
final
- nextButton → Widget?
-
final
- onStepChanged → void Function(int)?
-
final
- paddingHorizontal → double
-
final
- previousButton → Widget?
-
final
- rightArrowIcon → IconData
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
- showStepsText → bool
-
final
- sideLineLength → double
-
final
- state → StepIndicatorState?
-
final
-
steps
→ List<
String> -
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StepIndicator> -
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, int wrapWidth = 65}) → 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