playIf property

BooleanCallback? playIf
final

A callback that returns whether the animation should be played or skipped. If the callback returns false, the animation will be skipped, even when it is explicitly triggered.

Implementation

final BooleanCallback? playIf;