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