scheduleRunTransitionAnimations method

void scheduleRunTransitionAnimations(
  1. String propertyName,
  2. String? prevValue,
  3. String currentValue
)

Implementation

void scheduleRunTransitionAnimations(String propertyName, String? prevValue, String currentValue) {
  if (_scheduledRunTransitions) return;
  SchedulerBinding.instance.addPostFrameCallback((timeStamp) {
    renderStyle.runTransition(propertyName, prevValue, currentValue);
    _scheduledRunTransitions = false;
  });
}