ArgosWidgetNode class
An immutable description of one mounted widget at snapshot time.
This object intentionally retains no Element, Widget, or RenderObject reference, so it remains safe to read after the application rebuilds.
- Annotations
Constructors
-
ArgosWidgetNode({required String path, required String widgetType, required int depth, required String description, String? key, Rect? bounds, List<
ArgosWidgetProperty> properties = const <ArgosWidgetProperty>[], List<ArgosWidgetNode> children = const <ArgosWidgetNode>[]})
Properties
- bounds → Rect?
-
Global logical-pixel bounds when the element had a laid-out RenderBox.
final
- childCount → int
-
no setter
-
children
→ UnmodifiableListView<
ArgosWidgetNode> -
final
- depth → int
-
final
-
depthFirst
→ Iterable<
ArgosWidgetNode> -
Depth-first iteration over this node and all captured descendants.
no setter
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
final
- path → String
-
Structural index path, for example
0/2/1.final -
properties
→ UnmodifiableListView<
ArgosWidgetProperty> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widgetType → String
-
final
Methods
-
matches(
String query) → bool -
Whether this node contains
queryin any user-visible captured field. -
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