controller property
An external AnimationController can optionally be specified. By default Animate creates its own controller internally, which can be accessed via onInit or onPlay.
While a controller can be shared between multiple Animate instances, unexpected behaviors and errors will occur if the animations do not have identical total durations.
Implementation
final AnimationController? controller;