attachRootWidget method
Attaches the given app as the root widget without starting signal
handlers.
Implementation
void attachRootWidget(Widget app) {
terminal.clear();
terminal.hideCursor();
_rootElement = app.createElement();
_rootElement!.mount(null);
}