mouseCursor constant

MethodChannel const mouseCursor

A MethodChannel for configuring mouse cursors.

All outgoing methods defined for this channel uses a Map<String, Object?> to contain multiple parameters, including the following methods (invoked using OptionalMethodChannel.invokeMethod):

  • activateSystemCursor: Request to set the cursor of a pointer device to a system cursor. The parameters are integer device, and string kind.

Implementation

static const MethodChannel mouseCursor = OptionalMethodChannel(
  'flutter/mousecursor',
);