StepSize enum
Defines the size variants available for step indicators.
Each size includes both a numeric size value and a builder function that applies appropriate text and icon styling. Sizes scale with the theme's scaling factor.
Example:
Stepper(
size: StepSize.large,
steps: mySteps,
controller: controller,
);
Values
- small → const StepSize
-
Small step indicators with compact text and icons.
const StepSize(_smallSize, kSmallStepIndicatorSize)
- medium → const StepSize
-
Medium step indicators with normal text and icons (default).
const StepSize(_mediumSize, kMediumStepIndicatorSize)
- large → const StepSize
-
Large step indicators with larger text and icons.
const StepSize(_largeSize, kLargeStepIndicatorSize)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
The numeric size value for the step indicator.
final
- wrapper → StepSizeBuilder
-
Builder function that applies size-appropriate styling.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited