backgroundImage property
The background image of the RadialAxis. Changing the image will set the background to the new image.
The backgroundImage applied for the RadialAxis boundary.
This property is a type of ImageProvider. Therefore, you can set the following types of image on this.
Defaults to null.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
backgroundImage: AssetImage('images/dark_background.png')
)]
));
}
Implementation
final ImageProvider? backgroundImage;