CornerSpec.beveledWith constructor

const CornerSpec.beveledWith({
  1. Corner topLeft = Corner.BEVEL,
  2. Corner topRight = Corner.BEVEL,
  3. Corner bottomRight = Corner.BEVEL,
  4. Corner bottomLeft = Corner.BEVEL,
  5. BorderRadiusGeometry? radius,
})

A CornerSpec that accepts any Corner for each field, but defaults them all to Corner.BEVEL.

CornerSpec.BEVELED is a const CornerSpec available with all four corners initialized to Corner.BEVEL. Also see:

Implementation

const CornerSpec.beveledWith({
  this.topLeft = Corner.BEVEL,
  this.topRight = Corner.BEVEL,
  this.bottomRight = Corner.BEVEL,
  this.bottomLeft = Corner.BEVEL,
  this.radius,
});