SankeyPainter constructor
SankeyPainter({
- required List<
SankeyNode> nodes, - required List<
SankeyLink> links, - Color nodeColor = Colors.blue,
- Color linkColor = Colors.grey,
- bool showLabels = true,
Implementation
SankeyPainter({
required this.nodes,
required this.links,
this.nodeColor = Colors.blue,
this.linkColor = Colors.grey,
this.showLabels = true,
});