animationType property

LinearAnimationType animationType
final

Specifies the animation type for bar pointers.

Defaults to LinearAnimationType.ease.

This snippet shows how to set animation type for bar pointers.


SfLinearGauge (
barPointers: [
LinearBarPointer(
value: 20,
enableAnimation: true,
animationType: LinearAnimationType.bounceOut
 )])

Implementation

final LinearAnimationType animationType;