FFCard constructor
FFCard({
- @Deprecated('This field is deprecated.') Int64? legacyLegacyColor,
- double? legacyElevation,
- FFColor? legacyColor,
- FFBorderRadius? borderRadius,
- FFDoubleValue? elevationValue,
- FFColorValue? colorValue,
Implementation
factory FFCard({
@$core.Deprecated('This field is deprecated.')
$fixnum.Int64? legacyLegacyColor,
$core.double? legacyElevation,
FFColor? legacyColor,
FFBorderRadius? borderRadius,
FFDoubleValue? elevationValue,
FFColorValue? colorValue,
}) {
final result = create();
if (legacyLegacyColor != null) result.legacyLegacyColor = legacyLegacyColor;
if (legacyElevation != null) result.legacyElevation = legacyElevation;
if (legacyColor != null) result.legacyColor = legacyColor;
if (borderRadius != null) result.borderRadius = borderRadius;
if (elevationValue != null) result.elevationValue = elevationValue;
if (colorValue != null) result.colorValue = colorValue;
return result;
}