SankeyPainter constructor

SankeyPainter({
  1. required List<SankeyNode> nodes,
  2. required List<SankeyLink> links,
  3. Color nodeColor = Colors.blue,
  4. Color linkColor = Colors.grey,
  5. bool showLabels = true,
})

Implementation

SankeyPainter({
  required this.nodes,
  required this.links,
  this.nodeColor = Colors.blue,
  this.linkColor = Colors.grey,
  this.showLabels = true,
});