render method
Renders the widget onto the provided buffer within the specified area.
Implementation
@override
void render(Buffer buffer, Rect area) {
for (var y = 0; y < tiles.length; y++) {
if (y >= area.height) break;
final row = tiles[y];
for (var x = 0; x < row.length; x++) {
if (x >= area.width) break;
final cell = buffer.getCell(x, y);
if (cell != null) {
cell.char = row[x].char;
cell.style = row[x].style;
}
}
}
}