TestTerminal constructor

TestTerminal({
  1. int width = 80,
  2. int height = 24,
})

Implementation

TestTerminal({int width = 80, int height = 24})
    : _width = width,
      _height = height,
      _grid = List.generate(height, (_) => List.generate(width, (_) => ' '));