PolicySet class

Fundamental policy set. Your policy set should extend PolicySet.

Mixed in types

Constructors

PolicySet()

Properties

canvasReader ↔ CanvasReader
Allows you to read all data from diagram/canvas model.
getter/setter pairinherited
canvasWriter ↔ CanvasWriter
Allows you to change diagram/canvas model data.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showLinksOnTopOfComponents bool
no setterinherited

Methods

getLinkEndpointAlignment(ComponentData componentData, Offset targetPoint) Alignment
Calculates an alignment of link endpoint on a component from ComponentData and targetPoint (nearest link point from this component).
inherited
initializeDiagramEditor() → void
Allows you to prepare diagram editor before anything.
inherited
initializePolicy(CanvasReader canvasReader, CanvasWriter canvasWriter) → void
Initialize policy in DiagramEditorContext.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCanvasLongPress() → void
inherited
onCanvasLongPressEnd(LongPressEndDetails details) → void
inherited
onCanvasLongPressMoveUpdate(LongPressMoveUpdateDetails details) → void
inherited
onCanvasLongPressStart(LongPressStartDetails details) → void
inherited
onCanvasLongPressUp() → void
inherited
onCanvasPointerSignal(PointerSignalEvent event) → void
inherited
onCanvasScaleEnd(ScaleEndDetails details) → void
inherited
onCanvasScaleStart(ScaleStartDetails details) → void
inherited
onCanvasScaleUpdate(ScaleUpdateDetails details) → void
inherited
onCanvasTap() → void
inherited
onCanvasTapCancel() → void
inherited
onCanvasTapDown(TapDownDetails details) → void
inherited
onCanvasTapUp(TapUpDetails details) → void
inherited
onComponentLongPress(String componentId) → void
inherited
onComponentLongPressEnd(String componentId, LongPressEndDetails details) → void
inherited
onComponentLongPressMoveUpdate(String componentId, LongPressMoveUpdateDetails details) → void
inherited
onComponentLongPressStart(String componentId, LongPressStartDetails details) → void
inherited
onComponentLongPressUp(String componentId) → void
inherited
onComponentPointerSignal(String componentId, PointerSignalEvent event) → void
inherited
onComponentScaleEnd(String componentId, ScaleEndDetails details) → void
inherited
onComponentScaleStart(String componentId, ScaleStartDetails details) → void
inherited
onComponentScaleUpdate(String componentId, ScaleUpdateDetails details) → void
inherited
onComponentTap(String componentId) → void
inherited
onComponentTapCancel(String componentId) → void
inherited
onComponentTapDown(String componentId, TapDownDetails details) → void
inherited
onComponentTapUp(String componentId, TapUpDetails details) → void
inherited
onLinkJointLongPress(int jointIndex, String linkId) → void
inherited
onLinkJointLongPressEnd(int jointIndex, String linkId, LongPressEndDetails details) → void
inherited
onLinkJointLongPressMoveUpdate(int jointIndex, String linkId, LongPressMoveUpdateDetails details) → void
inherited
onLinkJointLongPressStart(int jointIndex, String linkId, LongPressStartDetails details) → void
inherited
onLinkJointLongPressUp(int jointIndex, String linkId) → void
inherited
onLinkJointScaleEnd(int jointIndex, String linkId, ScaleEndDetails details) → void
inherited
onLinkJointScaleStart(int jointIndex, String linkId, ScaleStartDetails details) → void
inherited
onLinkJointScaleUpdate(int jointIndex, String linkId, ScaleUpdateDetails details) → void
inherited
onLinkJointTap(int jointIndex, String linkId) → void
inherited
onLinkJointTapCancel(int jointIndex, String linkId) → void
inherited
onLinkJointTapDown(int jointIndex, String linkId, TapDownDetails details) → void
inherited
onLinkJointTapUp(int jointIndex, String linkId, TapUpDetails details) → void
inherited
onLinkLongPress(String linkId) → void
inherited
onLinkLongPressEnd(String linkId, LongPressEndDetails details) → void
inherited
onLinkLongPressMoveUpdate(String linkId, LongPressMoveUpdateDetails details) → void
inherited
onLinkLongPressStart(String linkId, LongPressStartDetails details) → void
inherited
onLinkLongPressUp(String linkId) → void
inherited
onLinkPointerSignal(String linkId, PointerSignalEvent event) → void
inherited
onLinkScaleEnd(String linkId, ScaleEndDetails details) → void
inherited
onLinkScaleStart(String linkId, ScaleStartDetails details) → void
inherited
onLinkScaleUpdate(String linkId, ScaleUpdateDetails details) → void
inherited
onLinkTap(String linkId) → void
inherited
onLinkTapCancel(String linkId) → void
inherited
onLinkTapDown(String linkId, TapDownDetails details) → void
inherited
onLinkTapUp(String linkId, TapUpDetails details) → void
inherited
showComponentBody(ComponentData componentData) Widget?
Returns a widget that specifies a design of this component.
inherited
showCustomWidgetsOnCanvasBackground(BuildContext context) List<Widget>
Allows you to add any widget to the canvas.
inherited
showCustomWidgetsOnCanvasForeground(BuildContext context) List<Widget>
Allows you to add any widget to the canvas.
inherited
showCustomWidgetWithComponentData(BuildContext context, ComponentData componentData) Widget
Allows you to add any widget to a component.
inherited
showCustomWidgetWithComponentDataOver(BuildContext context, ComponentData componentData) Widget
Allows you to add any widget to a component.
inherited
showCustomWidgetWithComponentDataUnder(BuildContext context, ComponentData componentData) Widget
Allows you to add any widget to a component.
inherited
showWidgetsWithLinkData(BuildContext context, LinkData linkData) List<Widget>
Allows you to add any widget to a link.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited