elevation property
Elevation of the pointer.
The pointer can be elevated by rendering with the shadow behind it.
By default, Colors.black
is used as shadow color.
This property controls the size of the shadow.
Defaults to 0
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
pointers: <GaugePointer>[MarkerPointer(value: 50,
enableDragging: true,
borderColor: Colors.red, elevation : 2)],
)]
));
}
Implementation
final double elevation;