autoRender method

void autoRender()

Automatically updates the frame asynchronously

Implementation

void autoRender() async {
  while (_clock.isRunning) {
    await Future.delayed(Duration(seconds: 1));
    _render();
  }
}