animationType property

  1. @override
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>[RangePointer(value: 50,
            animationType: AnimationType.ease
            enableAnimation: true, animationDuration: 2000 )],
           )]
       ));
}

Implementation

@override
final AnimationType animationType;