This should render the game.
@override void render(Canvas canvas) { _stopwatch.reset(); _stopwatch.start(); super.render(canvas); _stopwatch.stop(); _renderTime = _stopwatch.elapsedMilliseconds; }