FFLineChartLine constructor
FFLineChartLine({
- bool? legacyCurved,
- bool? legacyShowDots,
- double? legacyLineWidth,
- @Deprecated('This field is deprecated.') FFColor? legacyColor,
- bool? legacyFillBelowLine,
- FFColor? legacyFillColor,
- FFGradient? gradient,
- bool? legacyPreventCurveFromOvershooting,
- FFBooleanValue? curvedValue,
- FFBooleanValue? showDotsValue,
- FFDoubleValue? lineWidthValue,
- FFBooleanValue? fillBelowLineValue,
- FFColorValue? fillColorValue,
- FFBooleanValue? preventCurveFromOvershootingValue,
- FFBooleanValue? dashedValue,
- FFDoubleValue? dotSizeValue,
Implementation
factory FFLineChartLine({
$core.bool? legacyCurved,
$core.bool? legacyShowDots,
$core.double? legacyLineWidth,
@$core.Deprecated('This field is deprecated.') FFColor? legacyColor,
$core.bool? legacyFillBelowLine,
FFColor? legacyFillColor,
FFGradient? gradient,
$core.bool? legacyPreventCurveFromOvershooting,
FFBooleanValue? curvedValue,
FFBooleanValue? showDotsValue,
FFDoubleValue? lineWidthValue,
FFBooleanValue? fillBelowLineValue,
FFColorValue? fillColorValue,
FFBooleanValue? preventCurveFromOvershootingValue,
FFBooleanValue? dashedValue,
FFDoubleValue? dotSizeValue,
}) {
final result = create();
if (legacyCurved != null) result.legacyCurved = legacyCurved;
if (legacyShowDots != null) result.legacyShowDots = legacyShowDots;
if (legacyLineWidth != null) result.legacyLineWidth = legacyLineWidth;
if (legacyColor != null) result.legacyColor = legacyColor;
if (legacyFillBelowLine != null)
result.legacyFillBelowLine = legacyFillBelowLine;
if (legacyFillColor != null) result.legacyFillColor = legacyFillColor;
if (gradient != null) result.gradient = gradient;
if (legacyPreventCurveFromOvershooting != null)
result.legacyPreventCurveFromOvershooting =
legacyPreventCurveFromOvershooting;
if (curvedValue != null) result.curvedValue = curvedValue;
if (showDotsValue != null) result.showDotsValue = showDotsValue;
if (lineWidthValue != null) result.lineWidthValue = lineWidthValue;
if (fillBelowLineValue != null)
result.fillBelowLineValue = fillBelowLineValue;
if (fillColorValue != null) result.fillColorValue = fillColorValue;
if (preventCurveFromOvershootingValue != null)
result.preventCurveFromOvershootingValue =
preventCurveFromOvershootingValue;
if (dashedValue != null) result.dashedValue = dashedValue;
if (dotSizeValue != null) result.dotSizeValue = dotSizeValue;
return result;
}