FFCard constructor

FFCard({
  1. @Deprecated('This field is deprecated.') Int64? legacyLegacyColor,
  2. double? legacyElevation,
  3. FFColor? legacyColor,
  4. FFBorderRadius? borderRadius,
  5. FFDoubleValue? elevationValue,
  6. 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;
}