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, TextStyle? textStyle})
const
MyoroIconTextButtonStyle.fake()
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?
EdgeInsets of the button.
final
contentTapColor Color?
MyoroTapStatusEnum.tap's content Color.
finalinherited
disabledBackgroundColor Color?
Disabled background Color.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
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
textStyle TextStyle?
TextStyle 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({EdgeInsets? contentPadding, bool contentPaddingProvided = true, double? spacing, bool spacingProvided = true, TextStyle? textStyle, bool textStyleProvided = 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}) 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