Joshua Wade
Joshua Wade

Reputation: 5283

Set mouse cursor position in Flutter

Is it possible to set the position of the mouse cursor using Flutter for desktop?

I'm sure this is possible using custom plugins, but I'm hoping for a cross-platform Dart solution or an existing plugin.

Upvotes: 2

Views: 661

Answers (2)

Karan Singla
Karan Singla

Reputation: 308

Make a method channel between and call SetCursorPos function on cpp file.

SetCursorPos(int x, int y)

Upvotes: 0

Vraj Shah
Vraj Shah

Reputation: 696

There is no such functionality built into Flutter.

Upvotes: 2

Related Questions