ConnectorPainter constructor
ConnectorPainter({
- required MapCamera cam,
- required List<
CollisionNode< nodes,Object?> > - required List<
CollisionPlacement> placements, - required Color color,
- required double strokeWidth,
- required Size defaultSize,
- ConnectorStyle style = ConnectorStyle.curved,
- double bendFactor = 17.0,
- double minLengthPx = 3.0,
- double startGapPx = 0.5,
- double endGapPx = 4.0,
- bool halo = true,
- double haloWidth = 1.35,
- Color haloColor = const Color(0xFFFFFFFF),
- int haloAlpha = 76,
- int startAlpha = 112,
- int endAlpha = 188,
- bool dashed = false,
- double dash = 6.0,
- double gap = 4.0,
- bool endDot = false,
- double endDotRadius = 2.5,
- bool startDot = false,
- double startDotRadius = 2.5,
- Listenable? repaint,
Implementation
ConnectorPainter({
required this.cam,
required this.nodes,
required this.placements,
required this.color,
required this.strokeWidth,
required this.defaultSize,
this.style = ConnectorStyle.curved,
this.bendFactor = 17.0,
this.minLengthPx = 3.0,
this.startGapPx = 0.5,
this.endGapPx = 4.0,
this.halo = true,
this.haloWidth = 1.35,
this.haloColor = const Color(0xFFFFFFFF),
this.haloAlpha = 76,
this.startAlpha = 112,
this.endAlpha = 188,
this.dashed = false,
this.dash = 6.0,
this.gap = 4.0,
this.endDot = false,
this.endDotRadius = 2.5,
this.startDot = false,
this.startDotRadius = 2.5,
super.repaint,
});