clear method
Clears the rendered content.
Implementation
@override
void clear() {
_initialize();
_renderer?.erase();
_dirty = true;
// Stop the stopwatch to force next render to proceed
_frameStopwatch.stop();
_pendingView = '';
unawaited(terminal.flush());
}