BoxDecorationMix constructor
BoxDecorationMix({
- BoxBorderMix<
BoxBorder> ? border, - BorderRadiusGeometryMix<
BorderRadiusGeometry> ? borderRadius, - BoxShape? shape,
- BlendMode? backgroundBlendMode,
- Color? color,
- DecorationImageMix? image,
- GradientMix<
Gradient> ? gradient, - List<
BoxShadowMix> ? boxShadow,
Implementation
BoxDecorationMix({
BoxBorderMix? border,
BorderRadiusGeometryMix? borderRadius,
BoxShape? shape,
BlendMode? backgroundBlendMode,
Color? color,
DecorationImageMix? image,
GradientMix? gradient,
List<BoxShadowMix>? boxShadow,
}) : this.create(
border: Prop.maybeMix(border),
borderRadius: Prop.maybeMix(borderRadius),
shape: Prop.maybe(shape),
backgroundBlendMode: Prop.maybe(backgroundBlendMode),
color: Prop.maybe(color),
image: Prop.maybeMix(image),
gradient: Prop.maybeMix(gradient),
boxShadow: boxShadow != null
? Prop.mix(BoxShadowListMix(boxShadow))
: null,
);