animationDuration property

  1. @override
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 loading animation duration of shape pointers.


SfLinearGauge (
markerPointers: [
LinearShapePointer(
value: 20,
enableAnimation: true,
animationDuration: 4000
 )])

Implementation

@override
final int animationDuration;