InspectNode constructor

const InspectNode({
  1. required String id,
  2. required String type,
  3. String? description,
  4. String? widgetKey,
  5. InspectSource? source,
  6. bool createdByLocalProject = false,
  7. bool offstage = false,
  8. Map<String, String> properties = const {},
  9. Map<String, String> textStyle = const {},
  10. Map<String, String> inheritedStyle = const {},
  11. bool? styleReplacesInherited,
  12. List<InspectKey> keys = const [],
  13. List<String> unkeyedText = const [],
  14. bool textOverflowed = false,
  15. InspectLayout? layout,
  16. String? label,
  17. bool? selected,
  18. List<InspectNode> children = const [],
  19. int elidedChildren = 0,
})

Implementation

const InspectNode({
  required this.id,
  required this.type,
  this.description,
  this.widgetKey,
  this.source,
  this.createdByLocalProject = false,
  this.offstage = false,
  this.properties = const {},
  this.textStyle = const {},
  this.inheritedStyle = const {},
  this.styleReplacesInherited,
  this.keys = const [],
  this.unkeyedText = const [],
  this.textOverflowed = false,
  this.layout,
  this.label,
  this.selected,
  this.children = const [],
  this.elidedChildren = 0,
});