contentEdgeInsets property

  1. @Deprecated('This property is ignored when using UIButtonConfiguration')
UIEdgeInsets get contentEdgeInsets

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);
}
  1. @Deprecated('This property is ignored when using UIButtonConfiguration')
set contentEdgeInsets (UIEdgeInsets value)

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);
}