columnsCount property

int columnsCount

columnsCount returns the number of columns, this one and all those nested within it.

Implementation

int get columnsCount {
  int count = 1;
  if (children != null) {
    for (var e in children!) {
      count += e.columnsCount;
    }
  }
  return count;
}