prefersReducedMotion property

bool get prefersReducedMotion

true when the OS has requested reduced or no motion, AND the kit is configured to honor it.

Implementation

bool get prefersReducedMotion {
  if (!UiFrameworkConfig.accessibility.respectReduceMotion) return false;
  return MediaQuery.maybeDisableAnimationsOf(this) ?? false;
}