count property

int count

Returns the number of items required to show in a list view the entire tree.

Implementation

int get count {
  if (_count == null) {
    _count = _countSubNodesOf(root);
    if (includeRoot) _count++;
  }
  return _count;
}