duration property

num duration

Gets or sets the duration for animations, in milliseconds.

The default value is NaN, which means it inherits the default value from the AnimationManager#duration, which defaults to 600 milliseconds.

The value must be a number greater than or equal to 1, or NaN. Setting this property does not raise any events.

Implementation

_i2.num get duration => _i4.getProperty(
      this,
      'duration',
    );
void duration=(num value)

Implementation

set duration(_i2.num value) {
  _i4.setProperty(
    this,
    'duration',
    value,
  );
}