backgroundColor property
Specifies the background color of gauge widgets.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
gaugeThemeData: SfGaugeThemeData(
backgroundColor: Colors.yellow
)
),
child: SfRadialGauge(),
),
)
);
}
Implementation
final Color backgroundColor;