textStyle property

TextStyle textStyle
final

Customizes the tooltip text

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(
          enable: true,
           textStyle: TextStyle(color: Colors.green)),
       ));
}

Implementation

final TextStyle textStyle;