visitCells method

void visitCells (
  1. void callback(
    1. int col,
    2. int row,
    3. Widget widget,
    4. int colspan,
    5. int rowspan
    )
)

Applies the function callback to each cell.

Implementation

void visitCells(
  void Function(int col, int row, Widget widget, int colspan, int rowspan)
      callback,
) {
  for (final slot in _slots) {
    callback(slot.col, slot.row, slot.child, slot.colspan, slot.rowspan);
  }
}