cClipHorizontal method

Widget cClipHorizontal({
  1. double l = 0.0,
  2. double r = 0.0,
})

Clip the widget with different horizontal radii for left and right corners.

l specifies the radius for the left corner, and r specifies the radius for the right corner.

Implementation

Widget cClipHorizontal({
  double l = 0.0,
  double r = 0.0,
}) =>
    ClipRRect(
      borderRadius: BorderRadius.horizontal(
        left: Radius.circular(l),
        right: Radius.circular(r),
      ),
      child: this,
    );