BoxDecorationDto class
Represents a Data transfer object of BoxDecoration
This is used to allow for resolvable value tokens, and also the correct merge and combining behavior. It allows to be merged, and resolved to a `BoxDecoration
- Inheritance
-
- Object
- Dto<
BoxDecoration> - DecorationDto<
BoxDecoration> - BoxDecorationDto
- Annotations
Constructors
-
BoxDecorationDto({ColorDto? color, BoxBorderDto? border, BorderRadiusGeometryDto? borderRadius, GradientDto<
Gradient> ? gradient, List<BoxShadowDto> ? boxShadow, BoxShape? shape, BlendMode? backgroundBlendMode, DecorationImageDto? image}) -
const
Properties
- backgroundBlendMode → BlendMode?
-
final
- border → BoxBorderDto?
-
final
- borderRadius → BorderRadiusGeometryDto?
-
final
-
boxShadow
→ List<
BoxShadowDto> ? -
finalinherited
- color → ColorDto?
-
finalinherited
-
gradient
→ GradientDto<
Gradient> ? -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → DecorationImageDto?
-
final
-
props
→ List<
Object?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → BoxShape?
-
final
- stringify → bool
-
no setterinherited
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant DecorationDto< Decoration> ? other) → DecorationDto<Decoration> -
Merges this object with
other, returning a new object of typeT.inherited -
mergeDecoration(
covariant BoxDecorationDto? other) → BoxDecorationDto -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → BoxDecoration -
Resolves this BoxDecorationDto with a given MixData to a BoxDecoration
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited