BoxDecoration constructor

const BoxDecoration({
  1. String? color,
  2. LinearGradient? gradient,
  3. Border? border,
  4. double borderRadius = 0,
  5. BoxShape shape = BoxShape.rectangle,
})

BoxDecoration API.

Implementation

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