runCount property
num
runCount
Gets or sets whether this Animation should be repeat, and how many times. The default is 1, which means the animation does not repeat.
This can be set to any non-zero positive integer, or Infinity
. Setting this to Infinity
will repeat an animation forever.
This property should not be set on the AnimationManager#defaultAnimation
Implementation
_i2.num get runCount => _i4.getProperty(
this,
'runCount',
);
Implementation
set runCount(_i2.num value) {
_i4.setProperty(
this,
'runCount',
value,
);
}