contentInset property
UIEdgeInsets
get
contentInset
contentInset
Implementation
UIEdgeInsets get contentInset {
objc.checkOsVersionInternal('UIScrollView.contentInset', iOS: (false, (2, 0, 0)));
final _ptr = pkg_ffi.calloc<UIEdgeInsets>();
objc.useMsgSendVariants
? _objc_msgSend_ct4cu5Stret(_ptr, this.ref.pointer, _sel_contentInset)
: _ptr.ref = _objc_msgSend_ct4cu5(this.ref.pointer, _sel_contentInset);
final _finalizable = _ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<UIEdgeInsets>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<UIEdgeInsets>(_finalizable);
}
set
contentInset
(UIEdgeInsets value)
setContentInset:
Implementation
set contentInset(UIEdgeInsets value) {
objc.checkOsVersionInternal('UIScrollView.setContentInset:', iOS: (false, (2, 0, 0)));
_objc_msgSend_1g8fos5(this.ref.pointer, _sel_setContentInset_, value);
}