NiceSankeyDiagram constructor

const NiceSankeyDiagram({
  1. Key? key,
  2. required List<NiceSankeyNode> nodes,
  3. required List<NiceSankeyLink> links,
  4. double height = 300,
  5. double nodeWidth = 20,
  6. double nodePadding = 10,
})

Implementation

const NiceSankeyDiagram({
  super.key,
  required this.nodes,
  required this.links,
  this.height = 300,
  this.nodeWidth = 20,
  this.nodePadding = 10,
});