MyoroIconTextButtonConfiguration class

Configuration model of MyoroIconTextButton.

Inheritance
Annotations
  • @myoroModel

Constructors

MyoroIconTextButtonConfiguration.new({MouseCursor? cursor, MyoroTooltipConfiguration? tooltipConfiguration, MyoroButtonOnTapDown? onTapDown, MyoroButtonOnTapUp? onTapUp, bool isLoading = isLoadingDefaultValue, bool invert = invertDefaultValue, MyoroIconConfiguration? iconConfiguration, MyoroTextConfiguration? textConfiguration})
const
MyoroIconTextButtonConfiguration.fake()
factory

Properties

cursor MouseCursor?
MouseCursor when the MyoroButton is hovered over.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
iconConfiguration MyoroIconConfiguration?
Icon configuration of the MyoroIconTextButton.
final
invert bool
Whether or not to invert the icon and text.
final
isLoading bool
bool to determine if the button is loading.
finalinherited
onTapDown MyoroButtonOnTapDown?
Function executed when the MyoroButton is tapped.
finalinherited
onTapProvided bool
Returns if onTapUp or onTapDown was provided.
no setterinherited
onTapUp MyoroButtonOnTapUp?
Function executed when the MyoroButton is released being tapped.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self MyoroIconTextButtonConfiguration
no setterinherited
textConfiguration MyoroTextConfiguration?
Text configuration of the MyoroIconTextButton.
final
tooltipConfiguration MyoroTooltipConfiguration?
MyoroTooltip of the MyoroButton.
finalinherited

Methods

copyWith({bool? invert, MyoroIconConfiguration? iconConfiguration, bool iconConfigurationProvided = true, MyoroTextConfiguration? textConfiguration, bool textConfigurationProvided = true, MouseCursor? cursor, bool cursorProvided = true, MyoroTooltipConfiguration? tooltipConfiguration, bool tooltipConfigurationProvided = true, MyoroButtonOnTapDown? onTapDown, bool onTapDownProvided = true, MyoroButtonOnTapUp? onTapUp, bool onTapUpProvided = true, bool? isLoading}) MyoroIconTextButtonConfiguration
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

Constants

invertDefaultValue → const bool