You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For iOS, the MediaQuery.of(context).disableAnimations does not detect whether it is Reduce Motion on or off currently.
Thus, it would be very beneficial to expose the AccessibilityFeatures.reduceMotion to MediaQueryData so that the users can check the flag, Or, alternatively, we should make the disableAnimations flag to reflect the reduceMotion flag for iOS.
Proposal
Solution 1:
Expose the AccessibilityFeatures.reduceMotion to MediaQueryData
Solution 2:
Modify the MediaQueryData.disableAnimations flag to reflect on iOS's ReduceMotion flag.
@jonahwilliams Thanks for clarifying! Is there any way to detect the Reduce Motion from the app? Or, is there a reason why reduceMotion is not exposed to MediaQueryData?
I think @HansMuller had some idea on this. I believe we should make a new inherited widget that only exposes the accessibility features, and prefer those over the existing ones on media query.
Reacted by Daewon Kim, John MacPherson, Tyler Sowers and Jacob Willden
There is no progress done on this issue. Since there is already a way to get the reduce motion setting, this is a low priority issue. We welcome any contribution though.
@chunhtai would you see reduceMotion as an additional MediaQueryData field, or as @jonahwilliams suggested, we should create a separate inherited widget that is responsible just for these accessibility settings? I'm potentially willing to work on this :)
Checked and only working in iOS. But no working other platforms (Web, Desktop macOS)
It's not expected to work on other platforms, and the dartdoc is already clear about that:
/// The platform is requesting that certain animations be simplified and /// parallax effects removed. /// /// Only supported on iOS.boolget reduceMotion => _kReduceMotionIndex & _index !=0;
This is an iOS setting. Here are the Apple user and developer docs about it:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]Accessibility - Reduce Motion[/-][+]Accessibility - Exposing ReduceMotion [/+]jonahwilliams commentedon Sep 15, 2020
Reduce motion and disable animations are not equivalent.
dw2kim commentedon Sep 15, 2020
@jonahwilliams Thanks for clarifying! Is there any way to detect the Reduce Motion from the app? Or, is there a reason why
reduceMotionis not exposed to MediaQueryData?jonahwilliams commentedon Sep 15, 2020
reduce motion is exposed through the window's AccessibilityFeatures. We decided to stop putting everything on media query after a point.
dw2kim commentedon Sep 15, 2020
@jonahwilliams I see. I think the
reduceMotionis only flag that is missing in the media query for the Accessibility.Would it be okay to open PR just to expose this
reduceMotionflag?Or, is there a better way to access this flag from the App?
jonahwilliams commentedon Sep 15, 2020
I think @HansMuller had some idea on this. I believe we should make a new inherited widget that only exposes the accessibility features, and prefer those over the existing ones on media query.
HansMuller commentedon Sep 16, 2020
This a good suggestion for improving Flutter's a11y support. Factoring reduceMotion into the widget implementations would take a considerable effort.
CC @chunhtai
kennethj commentedon Jun 18, 2021
Any updates on this?
chunhtai commentedon Jun 18, 2021
There is no progress done on this issue. Since there is already a way to get the reduce motion setting, this is a low priority issue. We welcome any contribution though.
Albert221 commentedon Nov 6, 2023
@chunhtai would you see
reduceMotionas an additionalMediaQueryDatafield, or as @jonahwilliams suggested, we should create a separate inherited widget that is responsible just for these accessibility settings? I'm potentially willing to work on this :)chunhtai commentedon Nov 9, 2023
We can add to
AccessibilityFeatureskerberjg commentedon Aug 22, 2024
AccessibilityFeatures.reduceMotionis now accessible asboolviaCan this be considered solved?
tech-andgar commentedon Jan 11, 2025
Checked and only working in iOS. But no working other platforms (Web, Desktop macOS)
chrisbobbe commentedon Oct 21, 2025
I propose closing this, since this setting is now exposed via
AccessibilityFeatures.reduceMotion.It's not expected to work on other platforms, and the dartdoc is already clear about that:
This is an iOS setting. Here are the Apple user and developer docs about it:
If other platforms have similar settings and there's interest in exposing those, I think we can track them in separate issues.
github-actions commentedon Nov 4, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.cbracken commentedon Aug 7, 2026
For what it's worth, I wired this through to MediaQuery in #190287