ConnectionLabel.start constructor

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

Creates a label positioned at the start of the connection (anchor 0.0).

Implementation

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