BoxShadowDto class

Represents a Dto Data transfer object of BoxShadow

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 `BoxShadow

See also:

  • BoxShadow, which is the Flutter counterpart of this class.
  • ShadowDtoImpl, which is the base class for this class.
Inheritance

Constructors

BoxShadowDto({ColorDto? color, Offset? offset, double? blurRadius, double? spreadRadius})
const

Properties

blurRadius double?
finalinherited
color ColorDto?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
offset Offset?
finalinherited
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spreadRadius double?
final
stringify bool
no setterinherited

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant BoxShadowDto? other) BoxShadowDto
Merges this BoxShadowDto with other BoxShadowDto
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) BoxShadow
Resolves this BoxShadowDto with a given MixData to a BoxShadow
override
toString() String
A string representation of this object.
inherited

Operators

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