clipCircle method

Modifier clipCircle()

Wrap the widget into an ClipOval

Then wrap this SizedBox into clip oval Intended to use for any Widget But if need to clip Image that aspect ratio may not the same use the Modifier.clipCircular instead

Implementation

Modifier clipCircle() {
  return Modifier._([
    ..._modifiers,
    (widget) {
      return ClipOval(child: widget);
    }
  ]);
}