reducedMotion static method

bool reducedMotion(
  1. BuildContext context
)

Whether the OS "Reduce Motion" accessibility flag is on — check this before running a purely decorative animation (shader background, pop-in, scale-on-press...) and skip/shorten it for motion-sensitive users. One central helper so every animated widget in the kit checks the same flag the same way.

Implementation

static bool reducedMotion(BuildContext context) =>
    MediaQuery.of(context).disableAnimations;