backgroundColor property Null safety

Color? backgroundColor
final

The color that fills the title of the gauge.

Changing the background color will cause the gauge title to the new color.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
           title: GaugeTitle(
                   text: 'Gauge Title',
                   backgroundColor: Colors.red
                  )
       ));
}

Implementation

final Color? backgroundColor;