fontWeight property
To set the font weight to chart text
Defaults to FontStyle.normal
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis: CategoryAxis(
labelStyle: ChartTextStyle(fontWeight: FontWeight.normal),
));
}
Implementation
@override
final FontWeight fontWeight;