radius property

double get radius

Implementation

double get radius => max(size.width, size.height) / 2;