FractionallySizedBoxModifierSpecAttribute class final

Represents the attributes of a FractionallySizedBoxModifierSpec.

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

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

Inheritance
Mixed-in types

Constructors

FractionallySizedBoxModifierSpecAttribute({double? widthFactor, double? heightFactor, AlignmentGeometry? alignment})
const

Properties

alignment AlignmentGeometry?
final
animated AnimatedDataDto?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
heightFactor double?
final
mergeKey Object
no setterinherited
modifiers WidgetModifiersDataDto?
finalinherited
props List<Object?>
The list of properties that constitute the state of this FractionallySizedBoxModifierSpecAttribute.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
no setterinherited
widthFactor double?
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant FractionallySizedBoxModifierSpecAttribute? other) FractionallySizedBoxModifierSpecAttribute
Merges the properties of this FractionallySizedBoxModifierSpecAttribute with the properties of other.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) FractionallySizedBoxModifierSpec
Resolves to FractionallySizedBoxModifierSpec 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