isReducedMotionEnabled static method
Check if reduced motion is preferred.
Implementation
static bool isReducedMotionEnabled(BuildContext context) {
return MediaQuery.of(context).disableAnimations;
}
Check if reduced motion is preferred.
static bool isReducedMotionEnabled(BuildContext context) {
return MediaQuery.of(context).disableAnimations;
}