disableAnimations property

bool disableAnimations

The platform is requesting that animations be disabled or simplified.

This setting can be overridden for testing or debugging by setting debugSemanticsDisableAnimations.

Implementation

bool get disableAnimations {
  bool value = _accessibilityFeatures.disableAnimations;
  assert(() {
    if (debugSemanticsDisableAnimations != null) {
      value = debugSemanticsDisableAnimations!;
    }
    return true;
  }());
  return value;
}