props property

  1. @override
List<Object?> get props

The list of properties that constitute the state of this BoxTestSpecAttribute.

This property is used by the == operator and the hashCode getter to compare two BoxTestSpecAttribute instances for equality.

Implementation

@override
List<Object?> get props {
  return [
    alignment,
    animated,
    clipBehavior,
    constraints,
    decoration,
    foregroundDecoration,
    height,
    margin,
    padding,
    transform,
    transformAlignment,
    width,
  ];
}