isWindowZoomed static method

Future<bool> isWindowZoomed()

Returns if the window is zoomed.

This method is only available on macOS.

Implementation

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

  if (!Platform.isMacOS) {
    throw UnsupportedError('isWindowZoomed() is only available on macOS.');
  }

  return false;
}