CockpitWidgetNode class
final
Constructors
-
CockpitWidgetNode({required int node, String? loc, int? parent, required int depth, required String type, String? element, String? state, String? render, String? cockpitId, String? semanticId, String? key, String? text, String? tip, String? route, required bool visible, required bool offstage, CockpitWidgetBounds? bounds, int? scroll, List<CockpitCommandType> actions = const <CockpitCommandType>[], List<CockpitWidgetProperty> props = const <CockpitWidgetProperty>[]})
-
Creates one node in a mounted Flutter Widget tree projection.
-
CockpitWidgetNode.fromJson(Map<String, Object?> json)
-
Decodes a Widget node from a JSON object.
factory
Properties
-
actions
→ List<CockpitCommandType>
-
Commands currently advertised for this node.
final
-
bounds
→ CockpitWidgetBounds?
-
Global logical bounds, when a RenderBox is available.
final
-
cockpitId
→ String?
-
Cockpit identifier discovered for the node.
final
-
depth
→ int
-
Depth in the complete mounted Element tree.
final
-
element
→ String?
-
Runtime Element type included by the full profile.
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
key
→ String?
-
Stable public Widget key value, when available.
final
-
loc
→ String?
-
Opaque structural locator path, when the node is actionable.
final
-
node
→ int
-
Stable node number within this tree capture.
final
-
offstage
→ bool
-
Whether this node is below an active
Offstage boundary.
final
-
parent
→ int?
-
Nearest emitted parent node number.
final
-
props
→ List<CockpitWidgetProperty>
-
Bounded diagnostic properties included by the full profile.
final
-
render
→ String?
-
Runtime RenderObject type included by standard and full profiles.
final
-
route
→ String?
-
Current route owning the captured surface.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scroll
→ int?
-
Nearest scrollable ancestor node number, including this node if scrollable.
final
-
semanticId
→ String?
-
Optional Semantics identifier discovered for the node.
final
-
state
→ String?
-
Runtime State type included by the full profile.
final
-
text
→ String?
-
Direct normalized Widget text.
final
-
tip
→ String?
-
Direct normalized tooltip text.
final
-
type
→ String
-
Runtime Widget type.
final
-
visible
→ bool
-
Whether the node is mounted, laid out, and intersects the root viewport.
final