withTheme method

  1. @override
BaseChartConfig withTheme(
  1. ChartTheme theme
)
override

Override in concrete configs to return a themed copy.

Implementation

@override
BaseChartConfig withTheme(ChartTheme theme) {
  return IndicatorChartConfig(
    value: value,
    label: label,
    previousValue: previousValue,
    unit: unit,
    precision: precision,
    theme: theme,
    title: title,
    controller: controller,
  );
}