CNode constructor
const
CNode({
- required String type,
- required NodeID? parentID,
- required IntrinsicState intrinsicState,
- required DefaultNodeAttributes defaultAttributes,
- required List<
String> requiredAttributes, - required NodeAttributes attributes,
- required RectProperties rectProperties,
- required WidgetAdapter adapter,
- required DateTime updatedAt,
- required PageID? pageID,
- String? name,
- String? description,
- NodeID id = '',
- NodeID? stabilID,
- CNode? child,
- List<
CNode> ? children = const [], - double childOrder = 0,
- PageID? componentID,
- bool isLocked = false,
- 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;