IconButtonSpecAttribute class

Represents the attributes of a IconButtonSpec.

This class encapsulates properties defining the layout and appearance of a IconButtonSpec.

Use this class to configure the attributes of a IconButtonSpec and pass it to the IconButtonSpec constructor.

Mixed-in types

Constructors

IconButtonSpecAttribute({BoxSpecAttribute? container, IconSpecAttribute? icon, WidgetModifiersDataDto? modifiers, SpinnerSpecAttribute? spinner, AnimatedDataDto? animated})
const

Properties

animated → AnimatedDataDto?
finalinherited
container → BoxSpecAttribute?
final
hashCode int
The hash code for this object.
no setterinherited
icon → IconSpecAttribute?
final
mergeKey Object
no setterinherited
modifiers → WidgetModifiersDataDto?
finalinherited
props List<Object?>
The list of properties that constitute the state of this IconButtonSpecAttribute.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spinner SpinnerSpecAttribute?
final
stringify bool
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant IconButtonSpecAttribute? other) IconButtonSpecAttribute
Merges the properties of this IconButtonSpecAttribute with the properties of other.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) IconButtonSpec
Resolves to IconButtonSpec using the provided MixData.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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