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