cClipVertical method

Widget cClipVertical({
  1. double t = 0.0,
  2. double b = 0.0,
})

Clip the widget with different vertical radii for top and bottom corners.

t specifies the radius for the top corner, and b specifies the radius for the bottom corner.

Implementation

Widget cClipVertical({
  double t = 0.0,
  double b = 0.0,
}) =>
    ClipRRect(
      borderRadius: BorderRadius.vertical(
        top: Radius.circular(t),
        bottom: Radius.circular(b),
      ),
      child: this,
    );