HMButtonTheme class

Inheritance

Constructors

HMButtonTheme.new({Color? fillColor, Color? textColor, HMButtonVariant? buttonVariant, HMRadius? radius, HMButtonSize? size})

Properties

buttonVariant HMButtonVariant?
getter/setter pair
fillColor Color?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
radius HMRadius?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size HMButtonSize?
getter/setter pair
textColor Color?
getter/setter pair
type Object
The extension's type.
no setterinherited

Methods

copyWith({Color? fillColor, Color? textColor, HMButtonVariant? buttonVariant, HMRadius? radius, HMButtonSize? size}) HMButtonTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<HMButtonTheme>? other, double t) HMButtonTheme
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