AndroidUiNode class
One <node> from a uiautomator window dump.
Constructors
- AndroidUiNode({required String text, required String contentDesc, required String resourceId, required String className, required bool clickable, required bool enabled, required AndroidBounds? bounds, required AndroidUiNode? parent})
Properties
- bounds → AndroidBounds?
-
Bounds in physical pixels, or null when the attribute is missing or malformed.
final
- className → String
-
class, e.g.android.widget.Button.final - clickable → bool
-
final
- contentDesc → String
-
content-desc, trimmed.final - enabled → bool
-
False only when the dump says
enabled="false".final - hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The label a person would read: text, else contentDesc.
no setter
- parent → AndroidUiNode?
-
final
- resourceId → String
-
resource-id, e.g.com.android.permissioncontroller:id/permission_allow_button.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
text, trimmed.final
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