ImageTestSpecAttribute class

Represents the attributes of a ImageTestSpec.

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

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

Inheritance

Constructors

ImageTestSpecAttribute({AlignmentGeometry? alignment, AnimatedDataDto? animated, Rect? centerSlice, ColorDto? color, BlendMode? colorBlendMode, FilterQuality? filterQuality, BoxFit? fit, double? height, ImageRepeat? repeat, double? width})
const

Properties

alignment AlignmentGeometry?
final
animated AnimatedDataDto?
finalinherited
centerSlice Rect?
final
color ColorDto?
final
colorBlendMode BlendMode?
final
filterQuality FilterQuality?
final
fit BoxFit?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
mergeKey Object
no setterinherited
props List<Object?>
The list of properties that constitute the state of this ImageTestSpecAttribute.
no setter
repeat ImageRepeat?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
no setterinherited
width double?
final

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant ImageTestSpecAttribute? other) ImageTestSpecAttribute
Merges this object with other, returning a new object of type T.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) ImageTestSpec
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited