clipRRect method

Widget clipRRect({
  1. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  2. Clip clipBehavior = Clip.antiAlias,
})

Implementation

Widget clipRRect(
    {BorderRadiusGeometry borderRadius = BorderRadius.zero,
    Clip clipBehavior = Clip.antiAlias}) {
  return ClipRRect(
    borderRadius: borderRadius,
    clipBehavior: clipBehavior,
    child: this,
  );
}