drawStatusBarBackgroundInRect method

void drawStatusBarBackgroundInRect(
  1. NSRect rect, {
  2. required bool withHighlight,
})

drawStatusBarBackgroundInRect:withHighlight:

Implementation

void drawStatusBarBackgroundInRect(
  NSRect rect, {
  required bool withHighlight,
}) {
  objc.checkOsVersionInternal(
    'NSStatusItem.drawStatusBarBackgroundInRect:withHighlight:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  _objc_msgSend_1sfhlx6(
    this.ref.pointer,
    _sel_drawStatusBarBackgroundInRect_withHighlight_,
    rect,
    withHighlight,
  );
}