Repository: flutter
Issue: [macOS] Unexpected behaviour of mouse cursor when dragging a draggable feedback widget
Labels: framework,platform-mac,a: desktop,a: mouse,has reproducible steps,P2,found in release: 3.10,found in release: 3.11,team-macos,triaged-macos

### Steps to reproduce

Create a `Draggable` widget and use a `MouseRegion` widget that changes the cursor (e.g. `cursor: SystemMouseCursors.grabbing`) for the `feedback:` parameter.

Run by using device: `macOS (desktop)`.

Grab the widget at its edge (works best when using `dragAnchorStrategy: pointerDragAnchorStrategy`) and drag it around.
 

### Expected results

The mouse cursor should stay in the specified state (e.g. `SystemMouseCursors.grabbing`) for the duration of the drag, no matter how fast or in which direction the drag is performed.

### Actual results

When dragged into a direction that moves the cursor over the feedback widget the cursor stays in the specified state (e.g. `SystemMouseCursors.grabbing`). However, when dragged into a direction that moves the cursor away from the feedback widget, the cursor changes back to its normal state.

When this code is run with `Chrome (web)` this bug is not apparent, while it is apparent when using `macOS (desktop)`.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {

  final double size = 200;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Draggable(
            dragAnchorStrategy: pointerDragAnchorStrategy,
            ignoringFeedbackPointer: false,
            childWhenDragging: Container(color: Colors.red.shade100, width: size, height: size),
            feedback: MouseRegion(
              cursor: SystemMouseCursors.grabbing,
              child: Container(color: Colors.red, width: size, height: size),
            ),
            child: MouseRegion(
              cursor: SystemMouseCursors.grab,
              child: Container(color: Colors.red, width: size, height: size),
            ),
          ),
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

https://github.com/flutter/flutter/assets/74077179/35ec5e0b-f165-4750-92f1-65789ad1e3b2

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.7.11, on macOS 13.3 22E252 darwin-arm64, locale de-DE)
    • Flutter version 3.7.11 on channel stable at /Users/user/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f72efea43c (6 weeks ago), 2023-04-11 11:57:21 -0700
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE_x86.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/user/Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.3 22E252 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```

</details>