animationType property Null safety

AnimationType animationType
final

Specifies the different type of animation for pointer.

Different type of animation provides visually appealing way when the pointer moves from one value to another.

Defaults to AnimationType.linear.

Also refer AnimationType

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

Implementation

final AnimationType animationType;