SankeyChartRenderer class
Draws a Sankey flow diagram into a canvas.
- Inheritance
-
- Object
- ChartRenderer
- SankeyChartRenderer
Constructors
-
SankeyChartRenderer({required List<
SankeyNode> nodes, required List<SankeyLink> links}) -
const
Properties
- accessibilityLabel → String
-
A short label naming the kind of chart, e.g.
"Line chart", for semantics.no setteroverride - accessibilityValue → String
-
A value summarizing the chart's data — counts, range, a few points.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
links
→ List<
SankeyLink> -
final
-
nodes
→ List<
SankeyNode> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
draw(
Canvas canvas, Size size, DrafterThemeColors theme, double progress) → void -
Draws the chart.
progressis the entrance reveal in0..1(1 = fully drawn).override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited