SvgPictureOpenNode constructor
SvgPictureOpenNode({
- required NodeID id,
- NodeID? parentID,
- CNode? child,
- List<
CNode> ? children, - String? name,
- String? description,
- double? childOrder,
- Map<
String, dynamic> ? attributes, - RectProperties? rectProperties,
- DateTime? updatedAt,
- PageID? pageID,
- NodeID? stabilID,
- PageID? componentID,
- List<
CNode> ? componentChildren, - bool? isLocked,
- List<
String> ? requiredAttributes,
Implementation
SvgPictureOpenNode({
required final NodeID id,
final NodeID? parentID,
final CNode? child,
final List<CNode>? children,
final String? name,
final String? description,
final double? childOrder,
final Map<String, dynamic>? attributes,
final RectProperties? rectProperties,
final DateTime? updatedAt,
final PageID? pageID,
final NodeID? stabilID,
final PageID? componentID,
final List<CNode>? componentChildren,
final bool? isLocked,
final List<String>? requiredAttributes,
}) : super(
id: id,
type: NType.svgPicture,
name: name ?? 'Svg Picture',
parentID: parentID,
intrinsicState: const SvgPictureIntrinsicStates(),
defaultAttributes: const SvgPictureDefaultAttributes().get,
attributes: attributes ?? {},
rectProperties: rectProperties ?? CNode.defaultRProperties,
adapter: SvgPictureAdapter(),
description: description,
childOrder: childOrder ?? 0,
child: child,
children: children,
updatedAt: updatedAt ?? DateTime.now(),
pageID: pageID ?? '',
stabilID: stabilID,
componentID: componentID,
isLocked: isLocked ?? false,
requiredAttributes: requiredAttributes ??
const SvgPictureDefaultAttributes()
.requiredAttributes(NType.svgPicture),
);