SankeyDiagramWidget constructor

const SankeyDiagramWidget({
  1. Key? key,
  2. required SankeyDataSet data,
  3. required Map<String, Color> nodeColors,
  4. int? selectedNodeId,
  5. dynamic onNodeSelected(
    1. SankeyNode?
    )?,
  6. Size size = const Size(1000, 600),
  7. bool showLabels = true,
  8. bool showTexture = true,
})

Implementation

const SankeyDiagramWidget({
  Key? key,
  required this.data,
  required this.nodeColors,
  this.selectedNodeId,
  this.onNodeSelected,
  this.size = const Size(1000, 600),
  this.showLabels = true,
  this.showTexture = true,
}) : super(key: key);