positions property

List<int> positions

Get the position of the item in its parents.

Returns an empty list <int>[] if it doesn't have any parent (root item). The position of the item in its first parent is positions.last.

Implementation

List<int> get positions {
  return _getPositions();
}