radius property
Get the radius of the circle before scaling.
Implementation
double get radius {
return min(size.x, size.y) / 2;
}
Set the radius of the circle (and therefore the size).
Implementation
set radius(double value) {
size.setValues(value * 2, value * 2);
}