ignoreMouseEvents static method

Future<void> ignoreMouseEvents()

Makes the window ignore mouse events.

This method can be used to make parts of the window click-through, which may be desirable when used in conjunction with makeWindowFullyTransparent().

Implementation

static Future<void> ignoreMouseEvents() async {
  await _completer.future;
  await _windowManipulatorMethodChannel.invokeMethod('ignoreMouseEvents');
}