FFSignature constructor
FFSignature({
- FFColor? legacyPenColor,
- FFColor? legacyBackgroundColor,
- FFColor? legacyExportBackgroundColor,
- FFDimensions? dimensions,
- double? legacyStrokeWidth,
- FFColorValue? penColorValue,
- FFColorValue? backgroundColorValue,
- FFColorValue? exportBackgroundColorValue,
- FFDoubleValue? strokeWidthValue,
Implementation
factory FFSignature({
FFColor? legacyPenColor,
FFColor? legacyBackgroundColor,
FFColor? legacyExportBackgroundColor,
FFDimensions? dimensions,
$core.double? legacyStrokeWidth,
FFColorValue? penColorValue,
FFColorValue? backgroundColorValue,
FFColorValue? exportBackgroundColorValue,
FFDoubleValue? strokeWidthValue,
}) {
final result = create();
if (legacyPenColor != null) result.legacyPenColor = legacyPenColor;
if (legacyBackgroundColor != null)
result.legacyBackgroundColor = legacyBackgroundColor;
if (legacyExportBackgroundColor != null)
result.legacyExportBackgroundColor = legacyExportBackgroundColor;
if (dimensions != null) result.dimensions = dimensions;
if (legacyStrokeWidth != null) result.legacyStrokeWidth = legacyStrokeWidth;
if (penColorValue != null) result.penColorValue = penColorValue;
if (backgroundColorValue != null)
result.backgroundColorValue = backgroundColorValue;
if (exportBackgroundColorValue != null)
result.exportBackgroundColorValue = exportBackgroundColorValue;
if (strokeWidthValue != null) result.strokeWidthValue = strokeWidthValue;
return result;
}