MyoroIconTextButtonStyle class

Style model of MyoroIconTextButton.

Inheritance
Implementers
Available extensions
Annotations

Constructors

MyoroIconTextButtonStyle({Color? backgroundIdleColor, Color? backgroundHoverColor, Color? backgroundTapColor, Color? contentIdleColor, Color? contentHoverColor, Color? contentTapColor, double? borderWidth, BorderRadius? borderRadius, Color? borderIdleColor, Color? borderHoverColor, Color? borderTapColor, EdgeInsets? contentPadding, double? spacing, double? iconSize, MyoroTextStyle? textStyle, BoxConstraints? textConstraints})
Default constructor.
const
MyoroIconTextButtonStyle.fake()
Fake constructor.
factory

Properties

backgroundHoverColor → Color?
MyoroTapStatusEnum.hover's background Color.
finalinherited
backgroundIdleColor → Color?
MyoroTapStatusEnum.idle's background Color.
finalinherited
backgroundTapColor → Color?
MyoroTapStatusEnum.tap's background Color.
finalinherited
borderHoverColor → Color?
MyoroTapStatusEnum.hover's border Color.
finalinherited
borderIdleColor → Color?
MyoroTapStatusEnum.idle's border Color.
finalinherited
borderRadius → BorderRadius?
Border radius.
finalinherited
borderTapColor → Color?
MyoroTapStatusEnum.tap's border Color.
finalinherited
borderWidth → double?
Border width.
finalinherited
contentHoverColor → Color?
MyoroTapStatusEnum.hover's content Color.
finalinherited
contentIdleColor → Color?
MyoroTapStatusEnum.idle's content Color.
finalinherited
contentPadding → EdgeInsets?
Content padding.
finalinherited
contentTapColor → Color?
MyoroTapStatusEnum.tap's content Color.
finalinherited
disabledBackgroundColor → Color?
Disabled background Color.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
iconSize → double?
MyoroIconStyle of the icon.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
self → MyoroIconTextButtonStyle
no setterinherited
spacing → double?
Spacing between the icon and text.
final
textConstraints → BoxConstraints?
BoxConstraints of the text.
final
textStyle → MyoroTextStyle?
MyoroTextStyle of the text.
final

Methods

backgroundColorBuilder(MyoroTapStatusEnum tapStatus) → Color?

Available on T, provided by the MyoroButtonStyleExtension extension

Background Color builder.
borderBuilder(MyoroTapStatusEnum tapStatus) → BoxBorder?

Available on T, provided by the MyoroButtonStyleExtension extension

BoxBorder builder.
bordered(BuildContext context) → T

Available on T, provided by the MyoroButtonStyleExtension extension

Border adder.
contentColorBuilder(MyoroTapStatusEnum tapStatus) → Color?

Available on T, provided by the MyoroButtonStyleExtension extension

Content Color builder.
copyWith({double? spacing, bool spacingProvided = true, double? iconSize, bool iconSizeProvided = true, MyoroTextStyle? textStyle, bool textStyleProvided = true, BoxConstraints? textConstraints, bool textConstraintsProvided = true, Color? backgroundIdleColor, bool backgroundIdleColorProvided = true, Color? backgroundHoverColor, bool backgroundHoverColorProvided = true, Color? backgroundTapColor, bool backgroundTapColorProvided = true, Color? disabledBackgroundColor, bool disabledBackgroundColorProvided = true, Color? contentIdleColor, bool contentIdleColorProvided = true, Color? contentHoverColor, bool contentHoverColorProvided = true, Color? contentTapColor, bool contentTapColorProvided = true, double? borderWidth, bool borderWidthProvided = true, Color? borderIdleColor, bool borderIdleColorProvided = true, Color? borderHoverColor, bool borderHoverColorProvided = true, Color? borderTapColor, bool borderTapColorProvided = true, BorderRadius? borderRadius, bool borderRadiusProvided = true, EdgeInsets? contentPadding, bool contentPaddingProvided = true}) → MyoroIconTextButtonStyle
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
primary(BuildContext context) → T

Available on T, provided by the MyoroButtonStyleExtension extension

Use the primary theme variant.
secondary(BuildContext context) → T

Available on T, provided by the MyoroButtonStyleExtension extension

Use the secondary theme variant.
singleBackgroundColor(Color? color) → T

Available on T, provided by the MyoroButtonStyleExtension extension

Creates a style with a singular Color.
singleContentColor(Color? color) → T

Available on T, provided by the MyoroButtonStyleExtension extension

Creates a style with a singular Color.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

lerp(MyoroIconTextButtonStyle? a, MyoroIconTextButtonStyle? b, double t) → MyoroIconTextButtonStyle
Lerp function.
override