FFBoxShadow constructor
FFBoxShadow({
- double? legacyBlurRadius,
- FFColor? legacyColor,
- double? legacyDx,
- double? legacyDy,
- double? legacySpreadRadius,
- FFDoubleValue? blurRadiusValue,
- FFColorValue? colorValue,
- FFDoubleValue? dxValue,
- FFDoubleValue? dyValue,
- FFDoubleValue? spreadRadiusValue,
- FFIdentifier? themeShadowToken,
Implementation
factory FFBoxShadow({
$core.double? legacyBlurRadius,
FFColor? legacyColor,
$core.double? legacyDx,
$core.double? legacyDy,
$core.double? legacySpreadRadius,
FFDoubleValue? blurRadiusValue,
FFColorValue? colorValue,
FFDoubleValue? dxValue,
FFDoubleValue? dyValue,
FFDoubleValue? spreadRadiusValue,
FFIdentifier? themeShadowToken,
}) {
final result = create();
if (legacyBlurRadius != null) result.legacyBlurRadius = legacyBlurRadius;
if (legacyColor != null) result.legacyColor = legacyColor;
if (legacyDx != null) result.legacyDx = legacyDx;
if (legacyDy != null) result.legacyDy = legacyDy;
if (legacySpreadRadius != null)
result.legacySpreadRadius = legacySpreadRadius;
if (blurRadiusValue != null) result.blurRadiusValue = blurRadiusValue;
if (colorValue != null) result.colorValue = colorValue;
if (dxValue != null) result.dxValue = dxValue;
if (dyValue != null) result.dyValue = dyValue;
if (spreadRadiusValue != null) result.spreadRadiusValue = spreadRadiusValue;
if (themeShadowToken != null) result.themeShadowToken = themeShadowToken;
return result;
}