CSSBoxDecoration constructor

CSSBoxDecoration({
  1. Color? color,
  2. DecorationImage? image,
  3. BoxBorder? border,
  4. BorderRadius? borderRadius,
  5. List<WebFBoxShadow>? boxShadow,
  6. Gradient? gradient,
  7. BlendMode? backgroundBlendMode,
  8. BoxShape shape = BoxShape.rectangle,
})

Implementation

CSSBoxDecoration({
  this.color,
  this.image,
  this.border,
  this.borderRadius,
  this.boxShadow,
  this.gradient,
  this.backgroundBlendMode,
  this.shape = BoxShape.rectangle,
}) : super(
          color: color,
          image: image,
          border: border,
          borderRadius: borderRadius,
          gradient: gradient,
          backgroundBlendMode: backgroundBlendMode,
          shape: shape);