CornerSpec constructor
const
CornerSpec({
- Corner topLeft = Corner.ROUND,
- Corner topRight = Corner.ROUND,
- Corner bottomRight = Corner.ROUND,
- Corner bottomLeft = Corner.ROUND,
- BorderRadiusGeometry? radius,
📐 CornerSpec - (Rounded With)
A CornerSpec
that accepts any Corner for each field,
but defaults them all to Corner.ROUND.
CornerSpec.ROUNDED is a const
CornerSpec
available
with all four corners initialized to Corner.ROUND.
- Also see: CornerSpec.ROUNDED_50
See CornerSpec.squaredWith & CornerSpec.beveledWith
for const
constructors that default their fields differently.
Implementation
const CornerSpec({
this.topLeft = Corner.ROUND,
this.topRight = Corner.ROUND,
this.bottomRight = Corner.ROUND,
this.bottomLeft = Corner.ROUND,
this.radius,
});