buildOutRows method

void buildOutRows(
  1. int length
)

Implementation

void buildOutRows(int length) {
  // build rows
  while (rows.length < length) {
    var row = buildRow(rows.length);
    if (row == null) break;

    // compute must build
    if (widget.model.rows.length < 2) {
      mustBuildRowModel = _mustBuildRowModel();
    }

    // must build model
    if (mustBuildRowModel) {

      // get row index
      var index = rows.indexOf(row);

      // not found
      if (!index.isNegative) {
        widget.model.getRowModel(index);
      }
    }
  }
}