SharpBorderRadius.only constructor
const
SharpBorderRadius.only({
- SharpRadius topLeft = SharpRadius.zero,
- SharpRadius topRight = SharpRadius.zero,
- SharpRadius bottomLeft = SharpRadius.zero,
- SharpRadius bottomRight = SharpRadius.zero,
Creates a border radius with only the given non-zero values. The other corners will be right angles.
Implementation
const SharpBorderRadius.only({
this.topLeft = SharpRadius.zero,
this.topRight = SharpRadius.zero,
this.bottomLeft = SharpRadius.zero,
this.bottomRight = SharpRadius.zero,
}) : super.only(
topLeft: topLeft,
bottomRight: topRight,
topRight: topRight,
bottomLeft: bottomLeft,
);