PortStyle constructor
const
PortStyle({
- PortShape shape = PortShape.circle,
- double width = 10,
- double height = 10,
- DiagramColor fill = const DiagramColor(0xFFFFFFFF),
- DiagramColor stroke = const DiagramColor(0xFF111111),
- double strokeWidth = 1.5,
- DiagramColor? connectedFill,
- double connectedInset = 2.5,
Implementation
const PortStyle({
this.shape = PortShape.circle,
this.width = 10,
this.height = 10,
this.fill = const DiagramColor(0xFFFFFFFF),
this.stroke = const DiagramColor(0xFF111111),
this.strokeWidth = 1.5,
this.connectedFill,
this.connectedInset = 2.5,
});