Hot reload does not work
When trying to hot reload the application a late initialiser error is thrown. The underlying reason is, that the GameController is initialised in the setLevel method, which is only executed when the gamelevel button is clicked. When hotreload is activated in the game, the GameBloc is instantiated again, but the setLevel method is not executed, therefore throwing an error. A similar problem occurs when hot reloading the in main page, then the levels are not loaded in time.
Lösungsansatz: Ein event zum stream hinzufügen, dass die Anzahl der levels angibt und einen Stream hinzufügen, der das aktuelle Level angibt, fragwürdig, ob das nach einem hot reload beibehalten wird. Im Zuge dessen könnte man auch gleich überlegen ob man den bloc nicht gleich umstellt auf die bloc library