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 animation duration for widget marker pointers.


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

Implementation

@override
final int animationDuration;