Skip to content

Themable mouse cursors #88371

Closed
Closed

Description

@jpnurmi

Some Material widgets are missing a themeable mouse cursor.

Use case

For example, desktop-oriented themes might not want cursors changing over buttons and alike. In this case, it would be desirable to define mouse cursors in an application-wide theme: ubuntu/yaru.dart#840

Proposal

Add FooThemeData.mouseCursor for all widgets that have a Foo.mouseCursor property.

According to a quick search, at least these widgets are missing a themeable mouse cursor:

Activity

  1. added
    in triagePresently being triaged by the triage team
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    a: mouseIssues related to using a mouse or mouse support
    and removed
    in triagePresently being triaged by the triage team
    on Aug 18, 2021
  2. added a commit that references this issue on Aug 18, 2021
  3. jpnurmi commented on Aug 18, 2021

    @jpnurmi
    MemberAuthor

    Related issue: #59576

  4. 29 remaining items

  5. added
    packageflutter/packages repository. See also p: labels.
    and removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 17, 2026
  6. flutter-triage-bot commented on Oct 14, 2026

    @flutter-triage-bot

    This issue is missing a priority label. Please set a priority label when adding the triaged-design label.

  7. added
    P3Issues that are less important to the Flutter project
    triaged-designTriaged by Design Languages team
    on Oct 20, 2026
  8. QuncCccccc commented on Oct 20, 2026

    @QuncCccccc
    Contributor

    Since M3 IconButton, MenuAnchor, and DropdownMenu menu items already support a themeable, adaptive mouse cursor, and that M2 IconButton and DropdownButton are no longer recommended, I'm closing this PR.

  9. github-actions commented on Nov 4, 2026

    @github-actions

    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.

  10. locked as resolved and limited conversation to collaborators on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: mouseIssues related to using a mouse or mouse supportc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: material_uimaterial_ui package in flutter/packagespackageflutter/packages repository. See also p: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions