duration property
int
get
duration
Duration expressed in number of frames.
Implementation
int get duration => _duration;
set
duration
(int value)
Change the _duration
field value.
durationChanged will be invoked only if the field's value has changed.
Implementation
set duration(int value) {
if (_duration == value) {
return;
}
int from = _duration;
_duration = value;
if (hasValidated) {
durationChanged(from, value);
}
}