CornerSpec.noneWith constructor

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

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

CornerSpec.CIRCLE is a const CornerSpec available with all four corners initialized to Corner.NONE.

Implementation

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