defaultParagraphStyle property
NSParagraphStyle?
get
defaultParagraphStyle
defaultParagraphStyle
Implementation
NSParagraphStyle? get defaultParagraphStyle {
objc.checkOsVersionInternal(
'NSTextView.defaultParagraphStyle',
iOS: (true, null),
);
final _ret = _objc_msgSend_151sglz(
this.ref.pointer,
_sel_defaultParagraphStyle,
);
return _ret.address == 0
? null
: NSParagraphStyle.castFromPointer(_ret, retain: true, release: true);
}
set
defaultParagraphStyle
(NSParagraphStyle? value)
setDefaultParagraphStyle:
Implementation
set defaultParagraphStyle(NSParagraphStyle? value) {
objc.checkOsVersionInternal(
'NSTextView.setDefaultParagraphStyle:',
iOS: (true, null),
);
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_setDefaultParagraphStyle_,
value?.ref.pointer ?? ffi.nullptr,
);
}