enterFullScreenMode method

bool enterFullScreenMode(
  1. NSScreen screen, {
  2. NSDictionary? withOptions,
})

enterFullScreenMode:withOptions:

Implementation

bool enterFullScreenMode(NSScreen screen, {objc.NSDictionary? withOptions}) {
  objc.checkOsVersionInternal(
    'NSView.enterFullScreenMode:withOptions:',
    iOS: (true, null),
    macOS: (false, (10, 5, 0)),
  );
  return _objc_msgSend_1lsax7n(
    this.ref.pointer,
    _sel_enterFullScreenMode_withOptions_,
    screen.ref.pointer,
    withOptions?.ref.pointer ?? ffi.nullptr,
  );
}