HMSwitchTheme class

Inheritance

Constructors

HMSwitchTheme.new({Color? color, HMRadius? radius, HMSwitchSize? size, Duration? duration})

Properties

color Color?
final
duration Duration?
final
hashCode int
The hash code for this object.
no setterinherited
radius HMRadius?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size HMSwitchSize?
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Duration? duration, Color? color, HMRadius? radius, HMSwitchSize? size}) HMSwitchTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<HMSwitchTheme>? other, double t) HMSwitchTheme
Linearly interpolate with another ThemeExtension object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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