bool supportsAnimation()

Source

bool supportsAnimation() =>
    _animationPrefix != null && _transitionEnd != null;