CustomWidgetClipRRect extension
A Dart extension for applying clipping with ClipRRect
to a Widget.
- on
Methods
-
cClipAll(
double radius) → Widget - Clip the widget with a uniform radius on all corners.
-
cClipHorizontal(
{double l = 0.0, double r = 0.0}) → Widget - Clip the widget with different horizontal radii for left and right corners.
-
cClipOnly(
{double tl = 0.0, double tr = 0.0, double bl = 0.0, double br = 0.0}) → Widget - Clip the widget with different radii for each corner.
-
cClipVertical(
{double t = 0.0, double b = 0.0}) → Widget - Clip the widget with different vertical radii for top and bottom corners.