ConnectionLabel.end constructor

ConnectionLabel.end({
  1. required String text,
  2. double offset = 0.0,
  3. String? id,
})

Creates a label positioned at the end of the connection (anchor 1.0).

Implementation

factory ConnectionLabel.end({
  required String text,
  double offset = 0.0,
  String? id,
}) => ConnectionLabel(
  text: text,
  anchor: ConnectionAnchor.end,
  offset: offset,
  id: id,
);