UiNode constructor

const UiNode({
  1. required String stableId,
  2. required String role,
  3. required String text,
  4. required String normalizedText,
  5. required List<String> normalizedTokens,
  6. required Rect bounds,
  7. required bool scrollable,
  8. required bool visible,
  9. required double visibleFraction,
  10. required int layer,
  11. required bool hasAction,
  12. required String identifier,
  13. required List<String> actions,
  14. required String subtreeText,
  15. required int rawId,
  16. bool selected = false,
  17. String value = '',
  18. String? checked,
  19. bool editable = false,
  20. bool secure = false,
  21. bool coversViewport = false,
  22. int overlayId = 0,
  23. bool? disabled,
  24. String placeholder = '',
  25. UiRange? range,
  26. String parentId = '',
  27. VisualSignature? visual,
})

Implementation

const UiNode({
  required this.stableId,
  required this.role,
  required this.text,
  required this.normalizedText,
  required this.normalizedTokens,
  required this.bounds,
  required this.scrollable,
  required this.visible,
  required this.visibleFraction,
  required this.layer,
  required this.hasAction,
  required this.identifier,
  required this.actions,
  required this.subtreeText,
  required this.rawId,
  this.selected = false,
  this.value = '',
  this.checked,
  this.editable = false,
  this.secure = false,
  this.coversViewport = false,
  this.overlayId = 0,
  this.disabled,
  this.placeholder = '',
  this.range,
  this.parentId = '',
  this.visual,
});