tooltipLabelColor property
Specifies the text color of the tooltip.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
sparkChartThemeData: SfSparkChartThemeData(
tooltipLabelColor: Colors.amber
)
),
child: SfSparkLineChart(),
),
)
);
}
Implementation
final Color? tooltipLabelColor;