BooleanCallback typedef
BooleanCallback =
bool Function()
A callback that returns whether an animation should be allowed to follow through with its animation or be skipped completely, even when explicitly triggered.
Implementation
typedef BooleanCallback = bool Function();