FFChartTooltipInfo constructor
FFChartTooltipInfo({
- bool? legacyEnableTooltip,
- FFColor? legacyBackgroundColor,
- FFBooleanValue? enableTooltipValue,
- FFColorValue? backgroundColorValue,
Implementation
factory FFChartTooltipInfo({
$core.bool? legacyEnableTooltip,
FFColor? legacyBackgroundColor,
FFBooleanValue? enableTooltipValue,
FFColorValue? backgroundColorValue,
}) {
final result = create();
if (legacyEnableTooltip != null)
result.legacyEnableTooltip = legacyEnableTooltip;
if (legacyBackgroundColor != null)
result.legacyBackgroundColor = legacyBackgroundColor;
if (enableTooltipValue != null)
result.enableTooltipValue = enableTooltipValue;
if (backgroundColorValue != null)
result.backgroundColorValue = backgroundColorValue;
return result;
}