ElementCreation class final
One host-authored shape or standalone-text materialization request.
Workflow galleries and other domain editors provide semantic type, content, and ports here. The drawing kit derives defaults, containment, geometry, selection, resolution, and history through the normal diagram pipeline.
Constructors
-
ElementCreation({required String type, required DiagramPoint worldCenter, String? id, DiagramSize? size, ShapeStyle? style, Map<
String, Object?> values = const {}, TextStory? textStory, DiagramTextSizingMode? textSizingMode, List<Port> ports = const [], DiagramShapeParentPlacement parent = const AutoDiagramShapeParent(), bool select = true, int zIndex = 0})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- parent → DiagramShapeParentPlacement
-
final
-
ports
→ List<
Port> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- select → bool
-
final
- size → DiagramSize?
-
final
- style → ShapeStyle?
-
final
- textSizingMode → DiagramTextSizingMode?
-
Omit to use the registered text creation default.
final
- textStory → TextStory?
-
final
- type → String
-
final
-
values
→ Map<
String, Object?> -
The shape's values, such as a path's points, a drawing's ink or an
image; its declared defaults fill the rest.
final
- worldCenter → DiagramPoint
-
final
- zIndex → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited