UITabBarItem extension type

UITabBarItem

on
  • ObjCObject
Implemented types
Available extensions

Constructors

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

Properties

badgeColor UIColor?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
getter/setter pair
badgeValue ↔ NSString?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

badgeValue
getter/setter pair
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
scrollEdgeAppearance UITabBarAppearance?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance.
getter/setter pair
selectedImage UIImage?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

selectedImage
getter/setter pair
standardAppearance UITabBarAppearance?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

When set and this item is selected, overrides the hosting tab bar's standardAppearance.
getter/setter pair
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
titlePositionAdjustment UIOffset

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

titlePositionAdjustment
getter/setter pair

Methods

badgeTextAttributesForState(int state) → NSDictionary?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

Returns attributes previously set via -setBadgeTextAttributes:forState:.
encodeWithCoder(NSCoder coder) → void

Available on UIBarItem, provided by the UIBarItem$Methods extension

encodeWithCoder:
finishedSelectedImage() UIImage?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

finishedSelectedImage
finishedUnselectedImage() UIImage?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

finishedUnselectedImage
init() UIBarItem

Available on UIBarItem, provided by the UIBarItem$Methods extension

init
init() UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

init
initWithCoder(NSCoder coder) UIBarItem?

Available on UIBarItem, provided by the UIBarItem$Methods extension

initWithCoder:
initWithCoder(NSCoder coder) UITabBarItem?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithCoder:
initWithTabBarSystemItem(UITabBarSystemItem systemItem, {required int tag}) UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithTabBarSystemItem:tag:
initWithTitle(NSString? title, {UIImage? image, UIImage? selectedImage}) UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithTitle:image:selectedImage:
initWithTitle$1(NSString? title, {UIImage? image, required int tag}) UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithTitle:image:tag:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBadgeTextAttributes(NSDictionary? textAttributes, {required int forState}) → void

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted). Default values will be supplied for keys that are not provided by this dictionary. See NSAttributedString.h for details on what keys are available.
setFinishedSelectedImage(UIImage? selectedImage, {UIImage? withFinishedUnselectedImage}) → void

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

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