isCircle property

bool get isCircle

Whether this rounded rectangle would draw as a circle.

Implementation

bool get isCircle => width == height && isEllipse;