animationDuration property

int animationDuration
final

Specifies the load time animation duration with enableAnimation. Duration is defined in milliseconds.

Defaults to 1000.

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


SfLinearGauge (
barPointers: [
LinearBarPointer(
value: 20,
enableAnimation: true,
animationDuration: 4000
 )])

Implementation

final int animationDuration;