fill function

void fill(
  1. Screen screen,
  2. Cell? cell
)

Fills the entire screen with cell.

Implementation

void fill(Screen screen, Cell? cell) {
  if (screen is FillableScreen) {
    screen.fill(cell);
    return;
  }
  fillArea(screen, cell, screen.bounds());
}