Repository navigation
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopa: mouseIssues related to using a mouse or mouse supportIssues related to using a mouse or mouse supportc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Use case
It would be nice to be able to set the basic mouse cursor on desktop platforms to match the look'n'feel of the desktop and other apps around.
DataTable does not expose API for setting the mouse cursor. Given that interactive table rows are wrapped with TableRowInkWell, the mouse cursor ends up being InkWell's default i.e. the clickable mouse cursor.
Proposal
Expose API to be able to set mouse cursor on desktop platforms.
Related issues
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopa: mouseIssues related to using a mouse or mouse supportIssues related to using a mouse or mouse supportc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Type
Projects
- StatusShow more project fieldsDone (PR merged)

Activity
TahaTesser commentedon Mar 21, 2023
I'm working on this @jpnurmi. Should be an easy fix.
TahaTesser commentedon Mar 21, 2023
@jpnurmi
It'd be like this, what do you think?
Screen.Recording.2023-03-21.at.10.56.33.mov
jpnurmi commentedon Mar 21, 2023
@TahaTesser wow, that was quick! 🚀 looks good! notice that the header may also change the cursor if sortable.
TahaTesser commentedon Mar 21, 2023
@jpnurmi
Added cursor customizable for header cell as well.
I'd appreciate it if you can test my code implementation and provide any feedback on the behavior and naming #123128
jpnurmi commentedon Mar 21, 2023
Awesome, will do! 👍
github-actions commentedon Apr 7, 2023
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.