supportsTransitions property

bool get supportsTransitions

Checks to see if CSS Transitions are supported.

Implementation

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