transitionProperty property

  1. @override
List<String> get transitionProperty
override

Implementation

@override
List<String> get transitionProperty => _transitionProperty ?? const [ALL];
set transitionProperty (List<String>? value)

Implementation

set transitionProperty(List<String>? value) {
  _transitionProperty = value;
  _effectiveTransitions = null;
  // https://github.com/WebKit/webkit/blob/master/Source/WebCore/animation/AnimationTimeline.cpp#L257
  // Any animation found in previousAnimations but not found in newAnimations is not longer current and should be canceled.
  // @HACK: There are no way to get animationList from styles(Webkit will create an new Style object when style changes, but Kraken not).
  // Therefore we should cancel all running transition to get thing works.
  finishRunningTransition();
}