UiNodeUpdate class

Sparse update for a node that's present in both snapshots.

Constructors

UiNodeUpdate({required String stableId, String? role, String? text, List<int>? bounds, bool? scrollable, bool? hasAction, bool? visible, List<String>? actions, String? value, String? checked, bool? selected, bool disabledChanged = false, bool? disabled, String? placeholder, bool rangeChanged = false, UiRange? range, String? normalizedText, String? subtreeText, int? layer, bool? editable, bool? secure, double? visibleFraction, String? parentId})
const

Properties

actions → List<String>?
final
bounds → List<int>?
final
checked → String?
New tri-state checked when it changed ('true'/'false'/'mixed').
final
disabled → bool?
final
disabledChanged → bool
True when measured enablement changed; disabled is then the new tri-state value, and null goes out as JSON null (no longer measured), which the backend's apply_update reads as "unknown".
final
editable → bool?
New editable / secure when they changed.
final
hasAction → bool?
final
hashCode → int
The hash code for this object.
no setterinherited
layer → int?
New modal layer when it changed.
final
normalizedText → String?
New normalized_text (the SDK's normalization) whenever text changed or the backend's copy would otherwise diverge — without it apply_update falls back to text.lower().
final
parentId → String?
New parent_id when the nearest kept ancestor changed; '' clears.
final
placeholder → String?
New placeholder when it changed; '' clears it.
final
range → UiRange?
final
rangeChanged → bool
True when the slider range changed; a null range goes out as JSON null, clearing the backend's copy.
final
role → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollable → bool?
final
secure → bool?
final
selected → bool?
New selected when it changed (the active tab moved).
final
stableId → String
final
subtreeText → String?
New subtree_text when the backend's effective copy changed. Same trims as UiNode.toWire; a node whose subtree is omitted on the wire sends its normalized_text (what from_wire would have defaulted to).
final
text → String?
final
value → String?
New value when it changed.
final
visible → bool?
final
visibleFraction → double?
New visible_fraction (wire precision) when visibility flipped or the fraction moved by more than kVisibleFractionDelta.
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
toWire() → Map<String, dynamic>

Operators

operator ==(Object other) → bool
The equality operator.
inherited