UIAlertAction extension type

UIAlertAction

on
  • ObjCObject
Available extensions

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
isEnabled bool

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

isEnabled
getter/setter pair
object$ → ObjCObject
final
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style UIAlertActionStyle

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

style
no setter
title → NSString?

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

title
no setter

Methods

init() UIAlertAction

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

init
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

actionWithTitle(NSString? title, {required UIAlertActionStyle style, ObjCBlock<Void Function(UIAlertAction)>? handler}) UIAlertAction
actionWithTitle:style:handler:
alloc() UIAlertAction
alloc
allocWithZone(Pointer<NSZone> zone) UIAlertAction
allocWithZone:
isA(ObjCObject obj) bool
Returns whether obj is an instance of UIAlertAction.
new$() UIAlertAction
new