CornerSpec.squaredWith constructor
const
CornerSpec.squaredWith(
- {Corner topLeft = Corner.SQUARE,
- Corner topRight = Corner.SQUARE,
- Corner bottomRight = Corner.SQUARE,
- Corner bottomLeft = Corner.SQUARE,
- BorderRadiusGeometry? radius}
A CornerSpec
that accepts any Corner for each field,
but defaults them all to Corner.SQUARE.
CornerSpec.SQUARED is a const
CornerSpec
available
with all four corners initialized to Corner.SQUARE.
Implementation
const CornerSpec.squaredWith({
this.topLeft = Corner.SQUARE,
this.topRight = Corner.SQUARE,
this.bottomRight = Corner.SQUARE,
this.bottomLeft = Corner.SQUARE,
this.radius,
});