MyoroButtonVariantThemeExtension<T extends MyoroButtonVariantThemeExtension<T>> class abstract

Abstract ThemeExtension representing a variant of MyoroButtonThemeExtension.

Inheritance
Implementers

Constructors

MyoroButtonVariantThemeExtension.new({Color? backgroundColor, Color? backgroundIdleColor, Color? backgroundHoverColor, Color? backgroundTapColor, Color? contentColor, Color? contentIdleColor, Color? contentHoverColor, Color? contentTapColor, double? borderWidth, BorderRadius? borderRadius, Color? borderColor, Color? borderIdleColor, Color? borderHoverColor, Color? borderTapColor})
const

Properties

backgroundColor Color?
Background Color of the button.
final
backgroundHoverColor Color?
MyoroTapStatusEnum.hover's background Color.
final
backgroundIdleColor Color?
MyoroTapStatusEnum.idle's background Color.
final
backgroundTapColor Color?
MyoroTapStatusEnum.tap's background Color.
final
borderColor Color?
Border Color of the button.
final
borderHoverColor Color?
MyoroTapStatusEnum.hover's border Color.
final
borderIdleColor Color?
MyoroTapStatusEnum.idle's border Color.
final
borderRadius BorderRadius?
Border radius.
final
borderTapColor Color?
MyoroTapStatusEnum.tap's border Color.
final
borderWidth double?
Border width.
final
contentColor Color?
Content Color of the button.
final
contentHoverColor Color?
MyoroTapStatusEnum.hover's content Color.
final
contentIdleColor Color?
MyoroTapStatusEnum.idle's content Color.
final
contentTapColor Color?
MyoroTapStatusEnum.tap's content Color.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited

Methods

backgroundColorBuilder(MyoroTapStatusEnum tapStatus) Color?
Background Color builder.
borderBuilder(MyoroTapStatusEnum tapStatus) BoxBorder?
BoxBorder builder.
contentColorBuilder(MyoroTapStatusEnum tapStatus) Color?
Content Color builder.
copyWith({Color? backgroundColor, bool backgroundColorProvided = true, Color? backgroundIdleColor, bool backgroundIdleColorProvided = true, Color? backgroundHoverColor, bool backgroundHoverColorProvided = true, Color? backgroundTapColor, bool backgroundTapColorProvided = true, Color? contentColor, bool contentColorProvided = true, Color? contentIdleColor, bool contentIdleColorProvided = true, Color? contentHoverColor, bool contentHoverColorProvided = true, Color? contentTapColor, bool contentTapColorProvided = true, double? borderWidth, bool borderWidthProvided = true, BorderRadius? borderRadius, bool borderRadiusProvided = true, Color? borderColor, bool borderColorProvided = true, Color? borderIdleColor, bool borderIdleColorProvided = true, Color? borderHoverColor, bool borderHoverColorProvided = true, Color? borderTapColor, bool borderTapColorProvided = true}) → T
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<T>? other, double t) ThemeExtension<T>
Linearly interpolate with another ThemeExtension object.
inherited
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