enableAnimation property

bool enableAnimation
final

Whether to enable the pointer animation.

Set enableAnimation is true, the pointer value will cause the pointer to animate to the new value. The animation duration is specified by animationDuration.

Defaults to false.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
            pointers: <GaugePointer>[MarkerPointer(value: 50,
            enableAnimation: true)],
           )]
       ));
}

Implementation

final bool enableAnimation;