textStyle property
final
Customizes the text in the interactive tooltip.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
trackballBehavior: TrackballBehavior(enable: true,
tooltipSettings: InteractiveTooltip(
textStyle: ChartTextStyle(color:Colors.red))),
));
}
Implementation
final ChartTextStyle textStyle