duration property
num
get
duration
Gets or sets the default duration, in milliseconds, used as the duration for the #defaultAnimation
and for animations that have their Animation#duration set to NaN
.
Typically these values are short. The default value is 600 milliseconds. The value must be a number greater than or equal to 1. Setting this property does not raise any events.
Implementation
_i2.num get duration => _i4.getProperty(
this,
'duration',
);
set
duration
(num value)
Implementation
set duration(_i2.num value) {
_i4.setProperty(
this,
'duration',
value,
);
}