IxSpinnerTheme class

Theme extension that exposes Siemens IX spinner dimensions and colors.

Inheritance

Constructors

IxSpinnerTheme({required Map<IxSpinnerSize, IxSpinnerSizeSpec> sizes, required Map<IxSpinnerVariant, IxSpinnerVariantStyle> variants, required double ringInsetFraction, required Duration rotationDuration, required Duration maskDuration})
const
IxSpinnerTheme.fromPalette({required Map<IxThemeColorToken, Color> palette})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maskDuration → Duration
final
ringInsetFraction → double
final
rotationDuration → Duration
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizes → Map<IxSpinnerSize, IxSpinnerSizeSpec>
final
type → Object
The extension's type.
no setterinherited
variants → Map<IxSpinnerVariant, IxSpinnerVariantStyle>
final

Methods

copyWith({Map<IxSpinnerSize, IxSpinnerSizeSpec>? sizes, Map<IxSpinnerVariant, IxSpinnerVariantStyle>? variants, double? ringInsetFraction, Duration? rotationDuration, Duration? maskDuration}) → IxSpinnerTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<IxSpinnerTheme>? other, double t) → IxSpinnerTheme
Linearly interpolate with another ThemeExtension object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size(IxSpinnerSize size) → IxSpinnerSizeSpec
style(IxSpinnerVariant variant) → IxSpinnerVariantStyle
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited