FFLineChart_LegacyTooltipInfo constructor

FFLineChart_LegacyTooltipInfo({
  1. bool? enableTooltip,
  2. FFColor? backgroundColor,
})

Implementation

factory FFLineChart_LegacyTooltipInfo({
  $core.bool? enableTooltip,
  FFColor? backgroundColor,
}) {
  final result = create();
  if (enableTooltip != null) result.enableTooltip = enableTooltip;
  if (backgroundColor != null) result.backgroundColor = backgroundColor;
  return result;
}