axisLabelTextStyle property

TextStyle? axisLabelTextStyle
final

Specifies the text style for axis label.

Widget build(BuildContext context) {
 return Scaffold(
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           chartThemeData: SfChartThemeData(
             axisLabelTextStyle: TextStyle(color: Colors.red)
           )
         ),
         child: SfCartesianChart(),
       ),
     )
  );
}

Implementation

final TextStyle? axisLabelTextStyle;