cornerStyle property Null safety

CornerStyle cornerStyle
final

The style to use for the range pointer corner edge.

CornerStyle.bothFlat does not render the rounded corner on both side. CornerStyle.bothCurve renders the rounded corner on both side. CornerStyle.startCurve renders the rounded corner on start side. CornerStyle.endCurve renders the rounded corner on end side.

Defaults to CornerStyle.bothFlat.

Also refer CornerStyle

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
            pointers: <GaugePointer>[RangePointer(value: 20,
            cornerStyle: CornerStyle.bothCurve)],
           )]
       ));
}

Implementation

final CornerStyle cornerStyle;