clipRect method

Widget clipRect({
  1. Key? key,
  2. CustomClipper<Rect>? clipper,
  3. Clip clipBehavior = Clip.hardEdge,
})

Implementation

Widget clipRect({
  Key? key,
  CustomClipper<Rect>? clipper,
  Clip clipBehavior = Clip.hardEdge,
}) =>
    ClipRect(
      key: key,
      clipper: clipper,
      clipBehavior: clipBehavior,
      child: this,
    );