cornerFraction property

double get cornerFraction

Corner radius as a fraction of the short side, clamped to 0–0.5.

Implementation

double get cornerFraction => (cornerPermille / 1000).clamp(0.0, 0.5);