extendWidth method

void extendWidth(
  1. int toValue
)

Implementation

void extendWidth(int toValue) {
  for (var i = 0; i < this.height(); i++) {
    while (this.s[i].length < toValue) {
      this.s[i].add(null);
    }
  }
}