StepperTheme class

Theme configuration for Stepper components.

Defines default values for stepper direction, size, and visual variant. Applied through ComponentTheme to provide consistent styling across stepper widgets in the application.

Example:

ComponentTheme(
  data: StepperTheme(
    direction: Axis.vertical,
    size: StepSize.large,
    variant: StepVariant.circle,
  ),
  child: MyApp(),
);

Constructors

StepperTheme.new({Axis? direction, StepSize? size, StepVariant? variant})
Creates a StepperTheme.
const

Properties

direction Axis?
Layout direction for the stepper.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size StepSize?
Size variant for step indicators.
final
variant StepVariant?
Visual variant for step presentation.
final

Methods

copyWith({ValueGetter<Axis?>? direction, ValueGetter<StepSize?>? size, ValueGetter<StepVariant?>? variant}) StepperTheme
Creates a copy of this theme with optionally overridden properties.
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.
override