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(this.ref.pointer, _sel_compactAppearance);
return _ret.address == 0 ? null : UINavigationBarAppearance.castFromPointer(_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(this.ref.pointer, _sel_setCompactAppearance_, value?.ref.pointer ?? ffi.nullptr);
}