$setTableCellBackground function

void $setTableCellBackground(
  1. Iterable<TableCellNode> cells,
  2. String? color
)

Sets the raw background colour of cells, or clears it with null.

Must be called inside an update.

Implementation

void $setTableCellBackground(Iterable<TableCellNode> cells, String? color) {
  for (final cell in cells) {
    cell.setBackgroundColor(color);
  }
}