compactAppearance property
UINavigationBarAppearance?
get
compactAppearance
When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
Implementation
UINavigationBarAppearance? get compactAppearance {
objc.checkOsVersionInternal('UINavigationItem.compactAppearance', iOS: (false, (13, 0, 0)));
final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_compactAppearance);
return $ret.address == 0 ? null : UINavigationBarAppearance.fromPointer($ret, retain: true, release: true);
}
set
compactAppearance
(UINavigationBarAppearance? value)
When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
Implementation
set compactAppearance(UINavigationBarAppearance? value) {
objc.checkOsVersionInternal('UINavigationItem.setCompactAppearance:', iOS: (false, (13, 0, 0)));
_objc_msgSend_xtuoz7(object$.ref.pointer, _sel_setCompactAppearance_, value?.ref.pointer ?? ffi.nullptr);
}