NSAccessibilityElement class interface

NSAccessibilityElement

Implementers

Constructors

NSAccessibilityElement.castFrom(ObjCObjectBase other)
Constructs a NSAccessibilityElement that points to the same underlying object as other.
NSAccessibilityElement.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSAccessibilityElement that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
accessibilityFrame → ObjCProtocolMethod<CGRect Function()>
accessibilityFrame
final
accessibilityIdentifier → ObjCProtocolMethod<DartCADynamicRange Function()>
accessibilityIdentifier
final
accessibilityParent → ObjCProtocolMethod<ObjCObjectBase? Function()>
accessibilityParent
final
isAccessibilityFocused → ObjCProtocolMethod<bool Function()>
isAccessibilityFocused
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {required CGRect accessibilityFrame(), required ObjCObjectBase? accessibilityParent(), bool isAccessibilityFocused()?, NSString accessibilityIdentifier()?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSAccessibilityElement protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSAccessibilityElement.
implement({required CGRect accessibilityFrame(), required ObjCObjectBase? accessibilityParent(), bool isAccessibilityFocused()?, NSString accessibilityIdentifier()?, bool $keepIsolateAlive = true}) → NSAccessibilityElement
Builds an object that implements the NSAccessibilityElement protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.