AnotherStepper class

Inheritance

Constructors

AnotherStepper({Key? key, required List<StepperData> stepperList, double verticalGap = 40, int activeIndex = 0, required Axis stepperDirection, bool inverted = false, Color activeBarColor = Colors.blue, Color inActiveBarColor = Colors.grey, double barThickness = 2, ScrollPhysics? scrollPhysics, double iconHeight = 20, double iconWidth = 20})
Another stepper is a package, which helps build customizable and easy to manage steppers.
const

Properties

activeBarColor Color
Bar color for active step
final
activeIndex int
Active index - till which index the stepper will be highlighted
final
barThickness double
Bar width/thickness/height
final
hashCode int
The hash code for this object.
no setterinherited
iconHeight double
Height of StepperData.iconWidget
final
iconWidth double
Width of StepperData.iconWidget
final
inActiveBarColor Color
Bar color for inactive step
final
inverted bool
Inverts the stepper with text that is being used
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPhysics ScrollPhysics?
Scroll physics for listview if it is nested with some kind of Scrolling Widget
final
stepperDirection Axis
Stepper direction takes Axis Use Axis.horizontal to get horizontal stepper Use Axis.vertical to get vertical stepper
final
stepperList List<StepperData>
Stepper List of type StepperData to render the Stepper on the UI with data
final
verticalGap double
Gap between the items in the stepper, Default = 40 (Use it to give fixed height of stepper bar when using Axis.vertical)
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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