adapter property

Adapter? adapter
final

An Adapter can drive the animation from an external source (ex. a ScrollController, ValueNotifier, or arbitrary 0-1 value). For more information see Adapter or an adapter class (ChangeNotifierAdapter, ScrollAdapter, ValueAdapter, ValueNotifierAdapter).

If an adapter is provided, then delay is ignored, and you should not make changes to the AnimationController directly (ex. via onPlay) because it can cause unexpected results.

Implementation

final Adapter? adapter;