StepperColorScheme class

Manages colors for stepper components and their states.

Provides colors for different stepper states including completed, current, and upcoming steps.

Annotations

Constructors

StepperColorScheme({required Color buttonBackground, required Color buttonCompleted, required Color buttonCompletedHovered, required Color buttonCurrent, required Color buttonCurrentHovered, required Color buttonUpcomming, required Color buttonUpcommingHovered, required Color lineCompleted, required Color lineCompletedHovered, required Color lineCurrent, required Color lineUpcomming, required Color lineUpcommingHovered, required Color textPrimary, required Color textSecondary, required Color textTertiary})
Creates a custom StepperColorScheme
const
StepperColorScheme.dark()
Creates a color scheme with the dark theme values. All colors are sourced from SDGAColors with appropriate adjustments for dark mode.
StepperColorScheme.light()
Creates a color scheme with the light theme values. All colors are sourced from SDGAColors to maintain consistency.

Properties

buttonBackground → Color
final
buttonCompleted → Color
final
buttonCompletedHovered → Color
final
buttonCurrent → Color
final
buttonCurrentHovered → Color
final
buttonUpcomming → Color
final
buttonUpcommingHovered → Color
final
hashCode → int
The hash code for this object.
no setterinherited
lineCompleted → Color
final
lineCompletedHovered → Color
final
lineCurrent → Color
final
lineUpcomming → Color
final
lineUpcommingHovered → Color
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textPrimary → Color
final
textSecondary → Color
final
textTertiary → Color
final

Methods

lerp(StepperColorScheme other, double t) → StepperColorScheme
Linearly interpolates between two color schemes. If t is 0.0, returns this. If t is 1.0, returns other. Otherwise, performs linear interpolation for each color value.
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