autoPlayOnUpdate property

bool autoPlayOnUpdate
final

Whether to replay the animation from the beginning when the widget is rebuilt with a different tween.

Useful when the tween is derived from reactive state (for example inside an Obx): each change to the observed value replays the animation with the new bounds. The replay starts immediately, without waiting delay again. Defaults to false, preserving the play-once behavior.

Implementation

final bool autoPlayOnUpdate;