NSAccessibilitySwitch class interface
NSAccessibilitySwitch
- Implemented types
Constructors
- NSAccessibilitySwitch.castFrom(ObjCObjectBase other)
-
Constructs a NSAccessibilitySwitch that points to the same underlying object as
other. -
NSAccessibilitySwitch.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSAccessibilitySwitch 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.Protocolobject for this protocol.no setter -
accessibilityFrame
→ ObjCProtocolMethod<
CGRect Function()> -
accessibilityFrame
final
-
accessibilityIdentifier
→ ObjCProtocolMethod<
DartCADynamicRange Function()> -
accessibilityIdentifier
final
-
accessibilityLabel
→ ObjCProtocolMethod<
NSString? Function()> -
accessibilityLabel
final
-
accessibilityParent
→ ObjCProtocolMethod<
ObjCObjectBase? Function()> -
accessibilityParent
final
-
accessibilityPerformDecrement
→ ObjCProtocolMethod<
bool Function()> -
accessibilityPerformDecrement
final
-
accessibilityPerformIncrement
→ ObjCProtocolMethod<
bool Function()> -
accessibilityPerformIncrement
final
-
accessibilityPerformPress
→ ObjCProtocolMethod<
bool Function()> -
accessibilityPerformPress
final
-
accessibilityValue
→ ObjCProtocolMethod<
NSString? Function()> -
accessibilityValue
final
-
isAccessibilityFocused
→ ObjCProtocolMethod<
bool Function()> -
isAccessibilityFocused
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSString? accessibilityValue(), bool accessibilityPerformIncrement()?, bool accessibilityPerformDecrement()?, required NSString? accessibilityLabel(), required bool accessibilityPerformPress(), required CGRect accessibilityFrame(), required ObjCObjectBase? accessibilityParent(), bool isAccessibilityFocused()?, NSString accessibilityIdentifier()?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSAccessibilitySwitch protocol to an existing
objc.ObjCProtocolBuilder.override -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSAccessibilitySwitch.override -
implement(
{required NSString? accessibilityValue(), bool accessibilityPerformIncrement()?, bool accessibilityPerformDecrement()?, required NSString? accessibilityLabel(), required bool accessibilityPerformPress(), required CGRect accessibilityFrame(), required ObjCObjectBase? accessibilityParent(), bool isAccessibilityFocused()?, NSString accessibilityIdentifier()?, bool $keepIsolateAlive = true}) → NSAccessibilitySwitch -
Builds an object that implements the NSAccessibilitySwitch protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.override