Support MediaQuery's highContrast property on all platforms #168288
Labels
a: accessibility
Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)
c: proposal
A detailed proposal for a change to Flutter
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Use case
Right now, based on the official Flutter docs, the
MediaQuery.highContrastOf(context)
property is available only for iOS.Having tested it on macOS, this property seems to always return false there, even though the two platforms are quite similar. Based on the documentation, I assume all platforms outside of iOS also always return false.
Proposal
It'd be great if Flutter recognized the system's high contrast settings on all supported platforms, including Linux, macOS, and Windows.
The text was updated successfully, but these errors were encountered: