DiagramConnectorDefinition class final
One connector type: its editing, labeling and creation defaults. ConnectorElement.type selects it; the route is chosen independently.
Constructors
- DiagramConnectorDefinition({String type = 'connector', DiagramConnectorEditing editing = const DiagramConnectorEditing(), ConnectorLabelingCapability? labeling = const ConnectorLabelingCapability(), DiagramPoint defaultEndOffset = const DiagramPoint(160, 0)})
-
const
Properties
- defaultEndOffset → DiagramPoint
-
Endpoint displacement in canvas units for a click-created connector.
Drag creation uses the pointer's endpoint instead.
final
- editing → DiagramConnectorEditing
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labeling → ConnectorLabelingCapability?
-
Null disables labels on connectors of this type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The registered connector type;
connectoris the default element type.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
-
validate(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited