ShadowRadius.vertical constructor

ShadowRadius.vertical({
  1. Radius top = Radius.zero,
  2. Radius bottom = Radius.zero,
})

Creates a vertically symmetric border radius where the top and bottom sides of the rectangle have the same radii.

Implementation

ShadowRadius.vertical({Radius top = Radius.zero, Radius bottom = Radius.zero})
  : this.only(
      topLeft: top,
      topRight: top,
      bottomLeft: bottom,
      bottomRight: bottom,
    );