BoxDecorationDto class final
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
-
- @MixableDto()
Constructors
-
BoxDecorationDto({BoxBorderDto<
BoxBorder> ? border, BorderRadiusGeometryDto<BorderRadiusGeometry> ? borderRadius, BoxShape? shape, BlendMode? backgroundBlendMode, ColorDto? color, DecorationImageDto? image, GradientDto<Gradient> ? gradient, List<BoxShadowDto> ? boxShadow}) -
const
Properties
- backgroundBlendMode → BlendMode?
-
final
-
border
→ BoxBorderDto<
BoxBorder> ? -
final
-
borderRadius
→ BorderRadiusGeometryDto<
BorderRadiusGeometry> ? -
final
-
boxShadow
→ List<
BoxShadowDto> ? -
finalinherited
- color → ColorDto?
-
finalinherited
- defaultValue → BoxDecoration
-
no setteroverride
-
gradient
→ GradientDto<
Gradient> ? -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → DecorationImageDto?
-
finalinherited
- isMergeable → bool
-
no setteroverride
-
props
→ List<
Object?> -
The list of properties that constitute the state of this BoxDecorationDto.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → BoxShape?
-
final
- stringify → bool
-
no setterinherited
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant BoxDecorationDto? other) → BoxDecorationDto -
Merges the properties of this BoxDecorationDto with the properties of
other
.inherited -
mergeableDecor(
covariant ShapeDecorationDto? other) → BoxDecorationDto -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → BoxDecoration -
Resolves to BoxDecoration using the provided MixData.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited