ShapeConnectionDefinition.fixedPorts constructor

ShapeConnectionDefinition.fixedPorts(
  1. List<PortDefinition> fixedPorts, {
  2. bool clipToOutline = true,
})

Implementation

ShapeConnectionDefinition.fixedPorts(
  List<PortDefinition> fixedPorts, {
  this.clipToOutline = true,
}) : kind = ShapeConnectionKind.fixedPorts,
     fixedPorts = List.unmodifiable(fixedPorts),
     defaultPorts = const [],
     defaultSides = const [],
     portStyle = const PortStyle();