FFBarcode constructor
FFBarcode({
- String? legacyValue,
- @Deprecated('This field is deprecated.') double? legacyWidth,
- @Deprecated('This field is deprecated.') double? legacyHeight,
- FFBarcode_BarcodeType? type,
- FFBarcode_BarcodeTypeCategory? typeCategory,
- FFColor? legacyForegroundColor,
- FFColor? legacyBackgroundColor,
- bool? legacyShowText,
- FFDimensions? dimensions,
- FFStringValue? valueValue,
- FFColorValue? foregroundColorValue,
- FFColorValue? backgroundColorValue,
- FFBooleanValue? showTextValue,
Implementation
factory FFBarcode({
$core.String? legacyValue,
@$core.Deprecated('This field is deprecated.') $core.double? legacyWidth,
@$core.Deprecated('This field is deprecated.') $core.double? legacyHeight,
FFBarcode_BarcodeType? type,
FFBarcode_BarcodeTypeCategory? typeCategory,
FFColor? legacyForegroundColor,
FFColor? legacyBackgroundColor,
$core.bool? legacyShowText,
FFDimensions? dimensions,
FFStringValue? valueValue,
FFColorValue? foregroundColorValue,
FFColorValue? backgroundColorValue,
FFBooleanValue? showTextValue,
}) {
final result = create();
if (legacyValue != null) result.legacyValue = legacyValue;
if (legacyWidth != null) result.legacyWidth = legacyWidth;
if (legacyHeight != null) result.legacyHeight = legacyHeight;
if (type != null) result.type = type;
if (typeCategory != null) result.typeCategory = typeCategory;
if (legacyForegroundColor != null)
result.legacyForegroundColor = legacyForegroundColor;
if (legacyBackgroundColor != null)
result.legacyBackgroundColor = legacyBackgroundColor;
if (legacyShowText != null) result.legacyShowText = legacyShowText;
if (dimensions != null) result.dimensions = dimensions;
if (valueValue != null) result.valueValue = valueValue;
if (foregroundColorValue != null)
result.foregroundColorValue = foregroundColorValue;
if (backgroundColorValue != null)
result.backgroundColorValue = backgroundColorValue;
if (showTextValue != null) result.showTextValue = showTextValue;
return result;
}