preferredFontForTextStyle static method
preferredFontForTextStyle:options:
Implementation
static NSFont preferredFontForTextStyle(
DartNSFontTextStyle style, {
required objc.NSDictionary options,
}) {
objc.checkOsVersionInternal(
'NSFont.preferredFontForTextStyle:options:',
iOS: (true, null),
macOS: (false, (11, 0, 0)),
);
final _ret = _objc_msgSend_15qeuct(
_class_NSFont,
_sel_preferredFontForTextStyle_options_,
style.ref.pointer,
options.ref.pointer,
);
return NSFont.castFromPointer(_ret, retain: true, release: true);
}