isWindowInLiveResize static method

Future<bool> isWindowInLiveResize()

Gets whether the window is currently being resized by the user.

This method is only available on macOS.

Implementation

static Future<bool> isWindowInLiveResize() async {
  if (Platform.isMacOS) {
    return WindowManipulator.isWindowInLiveResize();
  }

  throw UnsupportedError(
    'isWindowInLiveResize() is only available on macOS.',
  );
}