DigitStepper class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- DigitStepper
Constructors
-
DigitStepper({Key? key, required int activeStep, required List<
StepsModel> steps, required int maxStepReached, double lineLength = 40, double lineSpace = 0, LineType lineType = LineType.normal, void onStepReached(int)?, bool enableStepTapping = true, Axis direction = Axis.horizontal, Color? unreachedStepBackgroundColor, Color? unreachedStepTextColor, Color? unreachedStepIconColor, Color? unreachedStepBorderColor, Color? activeStepTextColor, Color? activeStepIconColor, Color? activeStepBackgroundColor, Color? activeStepBorderColor, Color? finishedStepTextColor, Color? finishedStepBackgroundColor, Color? finishedStepBorderColor, Color? finishedStepIconColor, Color? defaultLineColor, Color? unreachedLineColor, Color? activeLineColor, Color? finishedLineColor, double stepRadius = 12, bool steppingEnabled = true, bool disableScroll = true, bool showTitle = true, AlignmentGeometry alignment = Alignment.center, double? lineDotRadius, double lineThickness = 1, EdgeInsetsDirectional padding = const EdgeInsetsDirectional.symmetric(horizontal: 10, vertical: 10), double internalPadding = 0, Curve? stepReachedAnimationEffect, Curve? stepAnimationCurve, Duration stepReachedAnimationDuration = const Duration(milliseconds: 10), Duration? stepAnimationDuration, double borderThickness = 0.8, String? loadingAnimation, StepShape stepShape = StepShape.circle, double? stepBorderRadius, BorderType defaultStepBorderType = BorderType.normal, BorderType? unreachedStepBorderType, BorderType? activeStepBorderType, BorderType? finishedStepBorderType, List<double> dashPattern = const [3, 1], bool showStepBorder = false, bool showLoadingAnimation = false, TextDirection textDirection = TextDirection.ltr}) -
const
Properties
- activeLineColor → Color?
-
final
- activeStep → int
-
final
- activeStepBackgroundColor → Color?
-
final
- activeStepBorderColor → Color?
-
final
- activeStepBorderType → BorderType?
-
final
- activeStepIconColor → Color?
-
final
- activeStepTextColor → Color?
-
final
- alignment → AlignmentGeometry
-
final
- borderThickness → double
-
final
-
dashPattern
→ List<
double> -
final
- defaultLineColor → Color?
-
final
- defaultStepBorderType → BorderType
-
final
- direction → Axis
-
final
- disableScroll → bool
-
final
- enableStepTapping → bool
-
final
- finishedLineColor → Color?
-
final
- finishedStepBackgroundColor → Color?
-
final
- finishedStepBorderColor → Color?
-
final
- finishedStepBorderType → BorderType?
-
final
- finishedStepIconColor → Color?
-
final
- finishedStepTextColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalPadding → double
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lineDotRadius → double?
-
final
- lineLength → double
-
final
- lineSpace → double
-
final
- lineThickness → double
-
final
- lineType → LineType
-
final
- loadingAnimation → String?
-
final
- maxStepReached → int
-
final
- onStepReached → void Function(int)?
-
final
- padding → EdgeInsetsDirectional
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showLoadingAnimation → bool
-
final
- showStepBorder → bool
-
final
- showTitle → bool
-
final
- stepAnimationCurve → Curve?
-
final
- stepAnimationDuration → Duration?
-
final
- stepBorderRadius → double?
-
final
- steppingEnabled → bool
-
final
- stepRadius → double
-
final
- stepReachedAnimationDuration → Duration
-
final
- stepReachedAnimationEffect → Curve?
-
final
-
steps
→ List<
StepsModel> -
final
- stepShape → StepShape
-
final
- textDirection → TextDirection
-
final
- unreachedLineColor → Color?
-
final
- unreachedStepBackgroundColor → Color?
-
final
- unreachedStepBorderColor → Color?
-
final
- unreachedStepBorderType → BorderType?
-
final
- unreachedStepIconColor → Color?
-
final
- unreachedStepTextColor → Color?
-
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