SmartBorderRadius.only constructor
SmartBorderRadius.only({
- RadiusSize topLeft = RadiusSize.none,
- RadiusSize topRight = RadiusSize.none,
- RadiusSize bottomLeft = RadiusSize.none,
- RadiusSize bottomRight = RadiusSize.none,
Implementation
factory SmartBorderRadius.only({
RadiusSize topLeft = RadiusSize.none,
RadiusSize topRight = RadiusSize.none,
RadiusSize bottomLeft = RadiusSize.none,
RadiusSize bottomRight = RadiusSize.none,
}) {
return SmartBorderRadius._(
value: SmartBorderCornerRadii(
topLeft: topLeft.value,
topRight: topRight.value,
bottomLeft: bottomLeft.value,
bottomRight: bottomRight.value,
).value,
);
}