contentSize property
CGSize
get
contentSize
The total size of the content contained by this container. If this size exceeds the size of this container's visible size, then scrolling is possible.
Implementation
objc.CGSize get contentSize {
objc.checkOsVersionInternal('UIScrollView.contentSize', iOS: (false, (12, 0, 0)));
final _ptr = pkg_ffi.calloc<objc.CGSize>();
objc.useMsgSendVariants
? _objc_msgSend_1vdfkenStret(_ptr, this.ref.pointer, _sel_contentSize)
: _ptr.ref = _objc_msgSend_1vdfken(this.ref.pointer, _sel_contentSize);
final _finalizable = _ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<objc.CGSize>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<objc.CGSize>(_finalizable);
}