stackOrderDescending function Stack orders Stacks
Returns a series order such that the largest series (according to the sum of values) is at the bottom.
final stack = Stack(…)..order = stackOrderDescending;
Implementation
List<int> stackOrderDescending(List<List<List<num>>> series) {
return stackOrderAscending(series).reversed.toList();
}