Skip to content

Support MediaQuery's highContrast property on all platforms #168288

@12people

Description

@12people

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions