borderRadius property
Implementation
@override
List<Radius>? get borderRadius {
bool hasBorderRadius = borderTopLeftRadius != CSSBorderRadius.zero ||
borderTopRightRadius != CSSBorderRadius.zero ||
borderBottomRightRadius != CSSBorderRadius.zero ||
borderBottomLeftRadius != CSSBorderRadius.zero;
return hasBorderRadius ? [
borderTopLeftRadius.computedRadius,
borderTopRightRadius.computedRadius,
borderBottomRightRadius.computedRadius,
borderBottomLeftRadius.computedRadius
] : null;
}