UIBarItem extension type

UIBarItem

on
  • ObjCObject
Implemented types
Implementers
Available extensions

Constructors

UIBarItem()
Returns a new instance of UIBarItem constructed with the default new method.
UIBarItem.as(ObjCObject other)
Constructs a UIBarItem that points to the same underlying object as other.
UIBarItem.fromPointer(Pointer<ObjCObjectImpl> other, {bool retain = false, bool release = false})
Constructs a UIBarItem that wraps the given raw object pointer.

Properties

hashCode int
The hash code for this object.
no setterinherited
image UIImage?

Available on UIBarItem, provided by the UIBarItem$Methods extension

image
getter/setter pair
imageInsets UIEdgeInsets

Available on UIBarItem, provided by the UIBarItem$Methods extension

imageInsets
getter/setter pair
isEnabled bool

Available on UIBarItem, provided by the UIBarItem$Methods extension

isEnabled
getter/setter pair
landscapeImagePhone UIImage?

Available on UIBarItem, provided by the UIBarItem$Methods extension

landscapeImagePhone
getter/setter pair
landscapeImagePhoneInsets UIEdgeInsets

Available on UIBarItem, provided by the UIBarItem$Methods extension

landscapeImagePhoneInsets
getter/setter pair
largeContentSizeImage UIImage?

Available on UIBarItem, provided by the UIBarItem$Methods extension

largeContentSizeImage
getter/setter pair
largeContentSizeImageInsets UIEdgeInsets

Available on UIBarItem, provided by the UIBarItem$Methods extension

largeContentSizeImageInsets
getter/setter pair
object$ → ObjCObject
final
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag int

Available on UIBarItem, provided by the UIBarItem$Methods extension

tag
getter/setter pair
title ↔ NSString?

Available on UIBarItem, provided by the UIBarItem$Methods extension

title
getter/setter pair

Methods

encodeWithCoder(NSCoder coder) → void

Available on UIBarItem, provided by the UIBarItem$Methods extension

encodeWithCoder:
init() UIBarItem

Available on UIBarItem, provided by the UIBarItem$Methods extension

init
initWithCoder(NSCoder coder) UIBarItem?

Available on UIBarItem, provided by the UIBarItem$Methods extension

initWithCoder:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setTitleTextAttributes(NSDictionary? attributes, {required int forState}) → void

Available on UIBarItem, provided by the UIBarItem$Methods extension

setTitleTextAttributes:forState:
titleTextAttributesForState(int state) → NSDictionary?

Available on UIBarItem, provided by the UIBarItem$Methods extension

titleTextAttributesForState:
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc() UIBarItem
alloc
allocWithZone(Pointer<NSZone> zone) UIBarItem
allocWithZone:
appearance() UIBarItem
appearance
appearanceForTraitCollection(UITraitCollection trait) UIBarItem
appearanceForTraitCollection:
appearanceForTraitCollection$1(UITraitCollection trait, {UIAppearanceContainer? whenContainedIn}) UIBarItem
appearanceForTraitCollection:whenContainedIn:
appearanceForTraitCollection$2(UITraitCollection trait, {required NSArray whenContainedInInstancesOfClasses}) UIBarItem
appearanceForTraitCollection:whenContainedInInstancesOfClasses:
appearanceWhenContainedIn(UIAppearanceContainer? ContainerClass) UIBarItem
appearanceWhenContainedIn:
appearanceWhenContainedInInstancesOfClasses(NSArray containerTypes) UIBarItem
appearanceWhenContainedInInstancesOfClasses:
isA(ObjCObject obj) bool
Returns whether obj is an instance of UIBarItem.
new$() UIBarItem
new