supportsTransitions property

bool supportsTransitions

Checks to see if CSS Transitions are supported.

Implementation

static bool get supportsTransitions {
  return document.body.style.supportsProperty('transition');
}