trackballTextStyle property
Specifies the trackball text style for spark chart label text.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
SparkChartThemeData: SfSparkChartThemeData(
trackballTextStyle: TextStyle(color: Colors.blue)
),
),
child: SfSparkLineChart(),
),
)
);
}
Implementation
final TextStyle? trackballTextStyle;