titleTextStyle property

TextStyle? titleTextStyle
final

Specifies the text style for gauges title.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           gaugeThemeData: SfGaugeThemeData(
             titleTextStyle: TextStyle(color: Colors.red)
           )
         ),
         child: SfRadialGauge(
           title: GaugeTitle(text: 'Title'),
         ),
       ),
     )
  );
}

Implementation

final TextStyle? titleTextStyle;