CNode constructor

const CNode({
  1. required String type,
  2. required NodeID? parentID,
  3. required IntrinsicState intrinsicState,
  4. required DefaultNodeAttributes defaultAttributes,
  5. required List<String> requiredAttributes,
  6. required NodeAttributes attributes,
  7. required RectProperties rectProperties,
  8. required WidgetAdapter adapter,
  9. required DateTime updatedAt,
  10. required PageID? pageID,
  11. String? name,
  12. String? description,
  13. NodeID id = '',
  14. NodeID? stabilID,
  15. CNode? child,
  16. List<CNode>? children = const [],
  17. double childOrder = 0,
  18. PageID? componentID,
  19. bool isLocked = false,
  20. bool isAppBar = false,
})

Constructor

Implementation

const CNode({
  required this.type,
  required this.parentID,
  required this.intrinsicState,
  required final DefaultNodeAttributes defaultAttributes,
  required this.requiredAttributes,
  required final NodeAttributes attributes,
  required final RectProperties rectProperties,
  required this.adapter,
  required this.updatedAt,
  required this.pageID,
  this.name,
  this.description,
  this.id = '',
  this.stabilID,
  this.child,
  this.children = const [],
  this.childOrder = 0,
  this.componentID,
  this.isLocked = false,
  this.isAppBar = false,
})  : _defaultAttributes = defaultAttributes,
      _attributes = attributes,
      _rectProperties = rectProperties;