FFBorderRadius constructor
FFBorderRadius({
- double? legacyTopLeft,
- double? legacyTopRight,
- double? legacyBottomLeft,
- double? legacyBottomRight,
- FFBorderRadius_BorderRadiusType? type,
- double? legacyAll,
- FFDoubleValue? topLeftValue,
- FFDoubleValue? topRightValue,
- FFDoubleValue? bottomLeftValue,
- FFDoubleValue? bottomRightValue,
- FFDoubleValue? allValue,
- FFIdentifier? themeRadiusToken,
Implementation
factory FFBorderRadius({
$core.double? legacyTopLeft,
$core.double? legacyTopRight,
$core.double? legacyBottomLeft,
$core.double? legacyBottomRight,
FFBorderRadius_BorderRadiusType? type,
$core.double? legacyAll,
FFDoubleValue? topLeftValue,
FFDoubleValue? topRightValue,
FFDoubleValue? bottomLeftValue,
FFDoubleValue? bottomRightValue,
FFDoubleValue? allValue,
FFIdentifier? themeRadiusToken,
}) {
final result = create();
if (legacyTopLeft != null) result.legacyTopLeft = legacyTopLeft;
if (legacyTopRight != null) result.legacyTopRight = legacyTopRight;
if (legacyBottomLeft != null) result.legacyBottomLeft = legacyBottomLeft;
if (legacyBottomRight != null) result.legacyBottomRight = legacyBottomRight;
if (type != null) result.type = type;
if (legacyAll != null) result.legacyAll = legacyAll;
if (topLeftValue != null) result.topLeftValue = topLeftValue;
if (topRightValue != null) result.topRightValue = topRightValue;
if (bottomLeftValue != null) result.bottomLeftValue = bottomLeftValue;
if (bottomRightValue != null) result.bottomRightValue = bottomRightValue;
if (allValue != null) result.allValue = allValue;
if (themeRadiusToken != null) result.themeRadiusToken = themeRadiusToken;
return result;
}