OpacityModifierSpecAttribute class final

Represents the attributes of a OpacityModifierSpec.

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

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

Inheritance
Mixed-in types

Constructors

OpacityModifierSpecAttribute({double? opacity})
const

Properties

animated AnimatedDataDto?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
mergeKey Object
no setterinherited
modifiers WidgetModifiersDataDto?
finalinherited
opacity double?
final
props List<Object?>
The list of properties that constitute the state of this OpacityModifierSpecAttribute.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 OpacityModifierSpecAttribute? other) OpacityModifierSpecAttribute
Merges the properties of this OpacityModifierSpecAttribute with the properties of other.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) OpacityModifierSpec
Resolves to OpacityModifierSpec using the provided MixData.
override
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