axisTitleTextStyle property

TextStyle? axisTitleTextStyle
final

Specifies the text style for axis title.

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

Implementation

final TextStyle? axisTitleTextStyle;