mouseCursor property

ValueNotifier<MouseCursor?> mouseCursor
final

Used to change the mouse cursor of the GameWidget running this game. Setting the value to null will make the GameWidget defer the choice of the cursor to the closest region available on the tree.

Implementation

final mouseCursor = ValueNotifier<MouseCursor?>(null);