BoxDecoration constructor

const BoxDecoration({
  1. PdfColor? color,
  2. BoxBorder? border,
  3. BorderRadiusGeometry? borderRadius,
  4. List<BoxShadow>? boxShadow,
  5. Gradient? gradient,
  6. DecorationGraphic? image,
  7. BoxShape shape = BoxShape.rectangle,
})

Implementation

const BoxDecoration({
  this.color,
  this.border,
  this.borderRadius,
  this.boxShadow,
  this.gradient,
  this.image,
  this.shape = BoxShape.rectangle,
});