rightViewRectForBounds method
CGRect
rightViewRectForBounds(
- CGRect bounds
rightViewRectForBounds:
Implementation
objc.CGRect rightViewRectForBounds(objc.CGRect bounds) {
final _$$ref = object$.ref;
objc.checkOsVersionInternal('UITextField.rightViewRectForBounds:', iOS: (false, (2, 0, 0)));
final $ptr = pkg_ffi.calloc<objc.CGRect>();
objc.useMsgSendVariants
? _objc_msgSend_1gn1s3dStret($ptr, _$$ref.pointer, _sel_rightViewRectForBounds_, bounds)
: $ptr.ref = _objc_msgSend_1gn1s3d(_$$ref.pointer, _sel_rightViewRectForBounds_, bounds);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<objc.CGRect>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<objc.CGRect>($finalizable);
}