order property
Given the generated series list, it must return an list of numeric indices representing the stack order.
final stack = Stack(…)..order = stackOrderNone;
stack.order; // stackOrderNone
For example, to use reverse order of keys
final stack = Stack(…)..order = (series) => range(stop: series.length).reversed;
The stack order is computed prior to the offset; thus, the lower value for all points is zero at the time the order is computed. The index attribute for each series is also not set until after the order is computed.
The order accessor defaults to stackOrderNone; this uses the order given by the keys accessor. See stack orders for the built-in orders.
Implementation
Iterable<int> Function(List<List<List<num>>>) get order => _order;