Skip to content

MaterialStateMouseCursor.clickable should only show "hand" pointer in Web apps #59576

@JonLatane

Description

@JonLatane

The "hand" pointer used on websites has no precedent of being used outside Web apps. The default behavior of MaterialStateMouseCursor.clickable should be to only return SystemMouseCursors.click is the application is running in a web browser.

Use case

All non-web apps built with Flutter.

Proposal

In MaterialStateMouseCursor.clickable, only return the SystemMouseCursors.click cursor if kIsWeb == true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopa: mouseIssues related to using a mouse or mouse supportc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.platform-linuxBuilding on or for Linux specificallyplatform-macBuilding on or for macOS specificallyplatform-windowsBuilding on or for Windows specificallyteam-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