props property
The list of properties that constitute the state of this BoxSpecAttribute.
This property is used by the == operator and the hashCode getter to
compare two BoxSpecAttribute instances for equality.
Implementation
@override
List<Object?> get props {
return [
alignment,
padding,
margin,
constraints,
decoration,
foregroundDecoration,
transform,
transformAlignment,
clipBehavior,
width,
height,
animated,
];
}