BoxDecorationDelta class sealed
A delta that applies modifications to a BoxDecoration.
- Mixed-in types
Constructors
-
BoxDecorationDelta.delta({Color? color, DecorationImage? image, BoxBorder? border, BorderRadiusGeometry? borderRadius, List<
BoxShadow> ? boxShadow, Gradient? gradient, BlendMode? backgroundBlendMode()?, BoxShape? shape}) -
Creates a partial modification of a BoxDecoration.
constfactory
- BoxDecorationDelta.value(BoxDecoration decoration)
-
Creates a complete replacement for a BoxDecoration.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
covariant BoxDecoration? decoration) → BoxDecoration -
Applies this delta to the given value.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited