extendHeight method

void extendHeight(
  1. int toValue
)

Implementation

void extendHeight(int toValue) {
  while (this.height() < toValue) {
    this.s.add(List.filled(this.width(), null, growable: true));
  }
}