Rect.fromCircle({Point center, double radius })

Construct a rectangle that bounds the given circle.

Source

Rect.fromCircle({ Point center, double radius }) {
  _value
    ..[0] = center.x - radius
    ..[1] = center.y - radius
    ..[2] = center.x + radius
    ..[3] = center.y + radius;
}