width property
Specifies the range pointer width.
You can specify pointer width either in logical pixel or radius factor using the sizeUnit property. if sizeUnit is GaugeSizeUnit.factor, value must be given from 0 to 1. Here pointer width is calculated by width * axis radius value.
Example: width value is 0.2 and axis radius is 100, pointer width is 20(0.2 * 100) logical pixels. if sizeUnit is GaugeSizeUnit.logicalPixel, defined value is set to the pointer width.
Defaults to 10
and sizeUnit is GaugeSizeUnit.logicalPixel
.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
pointers: <GaugePointer>[RangePointer(width: 20 , value: 20)],
)]
));
}
Implementation
final double width;