menu
flame package
documentation
game.dart
Game
addGameStateListener method
addGameStateListener method
dark_mode
light_mode
addGameStateListener
method
void
addGameStateListener
(
VoidCallback
callback
)
Implementation
void addGameStateListener(VoidCallback callback) { gameStateListeners.add(callback); }
flame package
documentation
game
Game
addGameStateListener method
Game class