BoxTestSpecAttribute class
Represents the attributes of a BoxTestSpec.
This class encapsulates properties defining the layout and appearance of a BoxTestSpec.
Use this class to configure the attributes of a BoxTestSpec and pass it to the BoxTestSpec constructor.
- Inheritance
-
- Object
- Attribute
- StyledAttribute
- SpecAttribute<
BoxTestSpec> - BoxTestSpecAttribute
Constructors
-
BoxTestSpecAttribute({AlignmentGeometry? alignment, AnimatedDataDto? animated, Clip? clipBehavior, BoxConstraintsDto? constraints, DecorationDto<
Decoration> ? decoration, DecorationDto<Decoration> ? foregroundDecoration, double? height, SpacingDto? margin, SpacingDto? padding, Matrix4? transform, AlignmentGeometry? transformAlignment, double? width}) -
const
Properties
- alignment → AlignmentGeometry?
-
final
- animated → AnimatedDataDto?
-
finalinherited
- clipBehavior → Clip?
-
final
- constraints → BoxConstraintsDto?
-
final
-
decoration
→ DecorationDto<
Decoration> ? -
final
-
foregroundDecoration
→ DecorationDto<
Decoration> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- margin → SpacingDto?
-
final
- mergeKey → Object
-
no setterinherited
- padding → SpacingDto?
-
final
-
props
→ List<
Object?> -
The list of properties that constitute the state of this BoxTestSpecAttribute.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
no setterinherited
- transform → Matrix4?
-
final
- transformAlignment → AlignmentGeometry?
-
final
- width → double?
-
final
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant BoxTestSpecAttribute? other) → BoxTestSpecAttribute -
Merges this object with
other, returning a new object of typeT.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → BoxTestSpec -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited