SchematicInstanceData constructor
- required String id,
- required double x,
- required double y,
- required double width,
- required double height,
- required String name,
- String? instanceName,
- String cls = '',
- String bodyText = '',
- bool isExternalPort = false,
- String cssClass = '',
- List<
String> children = const [], - double? portLabelWidth,
- bool hasChildren = false,
- bool isExpanded = false,
- bool isPartiallyExpanded = false,
- bool hasHiddenNonPrimitiveChildren = false,
- bool hasNonPrimitiveChildren = false,
- String? hierarchyPath,
- String? definitionName,
Create a new SchematicInstanceData.
Implementation
SchematicInstanceData({
required this.id,
required this.x,
required this.y,
required this.width,
required this.height,
required this.name,
this.instanceName,
this.cls = '',
this.bodyText = '',
this.isExternalPort = false,
this.cssClass = '',
this.children = const [],
this.portLabelWidth,
this.hasChildren = false,
this.isExpanded = false,
this.isPartiallyExpanded = false,
this.hasHiddenNonPrimitiveChildren = false,
this.hasNonPrimitiveChildren = false,
this.hierarchyPath,
this.definitionName,
});