titleTextColor property

Color? titleTextColor
final

Specifies the color of the chart title.

Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: SfTheme(
        data: SfThemeData(
          chartThemeData: SfChartThemeData(
            titleTextColor: Colors.blue
          )
        ),
        child: SfCartesianChart(
          title: ChartTitle(text: 'Chart'),
        )
      ),
    )
  );
}

Implementation

final Color? titleTextColor;