getRadius method
Converts this border radius definition into a CSS border-radius string.
Implementation
String getRadius() {
final unit = UnitHelper.getValue(sizeUnit);
if (all != null) {
return "border-radius:$all$unit;";
}
return "border-radius:${_getRadiusValue(topLeft, unit)} ${_getRadiusValue(topRight, unit)} ${_getRadiusValue(bottomRight, unit)} ${_getRadiusValue(bottomLeft, unit)};";
}