PortPlacement.normalized constructor

const PortPlacement.normalized({
  1. required DiagramPoint? anchor,
  2. required DiagramPoint? outwardNormal,
  3. String? targetLayerId,
})

Implementation

const PortPlacement.normalized({
  required this.anchor,
  required this.outwardNormal,
  this.targetLayerId,
}) : kind = PortPlacementKind.normalized,
     side = null,
     offset = 0;