mouseCursor property

MouseCursor get mouseCursor

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

MouseCursor get mouseCursor => _mouseCursor;
set mouseCursor (MouseCursor value)

Implementation

set mouseCursor(MouseCursor value) {
  _mouseCursor = value;
  refreshWidget();
}