SharpBorderRadius.vertical constructor
const
SharpBorderRadius.vertical({
- SharpRadius top = SharpRadius.zero,
- SharpRadius bottom = SharpRadius.zero,
Creates a vertically symmetric border radius where the top and bottom sides of the rectangle have the same radii.
Implementation
const SharpBorderRadius.vertical({
SharpRadius top = SharpRadius.zero,
SharpRadius bottom = SharpRadius.zero,
}) : this.only(
topLeft: top,
topRight: top,
bottomLeft: bottom,
bottomRight: bottom,
);