statusBarFrame property
- @Deprecated('Use the statusBarManager property of the window scene instead.')
statusBarFrame
Implementation
@Deprecated('Use the statusBarManager property of the window scene instead.')
objc.CGRect get statusBarFrame {
final _$$ref = object$.ref;
objc.checkOsVersionInternal('UIApplication.statusBarFrame', iOS: (false, (2, 0, 0)));
final $ptr = pkg_ffi.calloc<objc.CGRect>();
objc.useMsgSendVariants
? _objc_msgSend_bu1hbwStret($ptr, _$$ref.pointer, _sel_statusBarFrame)
: $ptr.ref = _objc_msgSend_bu1hbw(_$$ref.pointer, _sel_statusBarFrame);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<objc.CGRect>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<objc.CGRect>($finalizable);
}