enableAnimation property

  1. @override
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>[NeedlePointer(value: 50,
            enableAnimation: true)],
           )]
       ));
}

Implementation

@override
final bool enableAnimation;