CornerSpec.noneWith constructor
const
CornerSpec.noneWith({
- Corner topLeft = Corner.NONE,
- Corner topRight = Corner.NONE,
- Corner bottomRight = Corner.NONE,
- Corner bottomLeft = Corner.NONE,
- 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,
});