onInit property

AnimateCallback? onInit
final

Called when the instance's state initializes. Provides an opportunity to manipulate the AnimationController (ex. to loop, reverse, etc).

Implementation

final AnimateCallback? onInit;