contentEdgeInsets property
- @Deprecated('This property is ignored when using UIButtonConfiguration')
contentEdgeInsets
Implementation
@Deprecated('This property is ignored when using UIButtonConfiguration')
UIEdgeInsets get contentEdgeInsets {
final _$$ref = object$.ref;
objc.checkOsVersionInternal('UIButton.contentEdgeInsets', iOS: (false, (2, 0, 0)));
final $ptr = pkg_ffi.calloc<UIEdgeInsets>();
objc.useMsgSendVariants
? _objc_msgSend_ct4cu5Stret($ptr, _$$ref.pointer, _sel_contentEdgeInsets)
: $ptr.ref = _objc_msgSend_ct4cu5(_$$ref.pointer, _sel_contentEdgeInsets);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<UIEdgeInsets>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<UIEdgeInsets>($finalizable);
}
- @Deprecated('This property is ignored when using UIButtonConfiguration')
setContentEdgeInsets:
Implementation
@Deprecated('This property is ignored when using UIButtonConfiguration')
set contentEdgeInsets(UIEdgeInsets value) {
final _$$ref = object$.ref;
objc.checkOsVersionInternal('UIButton.setContentEdgeInsets:', iOS: (false, (2, 0, 0)));
_objc_msgSend_1g8fos5(_$$ref.pointer, _sel_setContentEdgeInsets_, value);
}