setCaptureCursor method

Future<void> setCaptureCursor(
  1. bool enabled
)

Include the mouse cursor in captured frames (off by default). Must be called BEFORE configuring the display/window. Honored on Windows WGC, macOS ScreenCaptureKit, and Linux PipeWire; Windows DXGI cannot draw the cursor and stays cursor-less.

Implementation

Future<void> setCaptureCursor(bool enabled) =>
    throw UnsupportedError('setCaptureCursor is not supported.');