isEnabled property
bool
get
isEnabled
Gets or sets whether this AnimationManager operates.
The default value is true
.
Setting this to false
does not stop an animation, it only stops future animations.
To stop any ongoing animation, use #stopAnimation.
To disable only the default animations, set #canStart to a function that always returns false
.
If any indefinite animations (animations with Animation#runCount set to Infinity
) were running
when this is set to false
, they will be resumed when this is set to true
.
Setting this property does not raise any events.
Implementation
_i2.bool get isEnabled => _i4.getProperty(
this,
'isEnabled',
);
set
isEnabled
(bool value)
Implementation
set isEnabled(_i2.bool value) {
_i4.setProperty(
this,
'isEnabled',
value,
);
}