UIBarItem class
UIBarItem
- Implemented types
- Implementers
- Available extensions
Constructors
- UIBarItem.new()
-
Returns a new instance of UIBarItem constructed with the default
new
method.factory - UIBarItem.castFrom(ObjCObjectBase other)
-
Constructs a UIBarItem that points to the same underlying object as
other
. -
UIBarItem.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a UIBarItem that wraps the given raw object pointer.
Properties
- enabled ↔ bool
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
isEnabledgetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ UIImage?
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
imagegetter/setter pair - imageInsets ↔ UIEdgeInsets
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
imageInsetsgetter/setter pair - landscapeImagePhone ↔ UIImage?
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
landscapeImagePhonegetter/setter pair - landscapeImagePhoneInsets ↔ UIEdgeInsets
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
landscapeImagePhoneInsetsgetter/setter pair - largeContentSizeImage ↔ UIImage?
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
largeContentSizeImagegetter/setter pair - largeContentSizeImageInsets ↔ UIEdgeInsets
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
largeContentSizeImageInsetsgetter/setter pair - 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
taggetter/setter pair - title ↔ NSString?
-
Available on UIBarItem, provided by the UIBarItem$Methods extension
titlegetter/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 UIControlState forState}) → void -
Available on UIBarItem, provided by the UIBarItem$Methods extension
setTitleTextAttributes:forState: -
titleTextAttributesForState(
UIControlState 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:
-
isInstance(
ObjCObjectBase obj) → bool -
Returns whether
obj
is an instance of UIBarItem. -
new$(
) → UIBarItem - new