clipOval method

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

A widget that clips its child using an oval.

Implementation

Widget clipOval({
  Key? key,
  CustomClipper<Rect>? clipper,
  Clip clipBehavior = Clip.antiAlias,
}) {
  return ClipOval(
    key: key,
    clipper: clipper,
    clipBehavior: clipBehavior,
    child: this,
  );
}