clipShape method

ClipOval clipShape({
  1. Clip clipBehavior = Clip.antiAlias,
})

Clips the widget into a shape (default is oval).

clipBehavior The behavior to handle clipping.

Implementation

ClipOval clipShape({Clip clipBehavior = Clip.antiAlias}) {
  return ClipOval(
    clipBehavior: clipBehavior,
    child: this,
  );
}