We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As constructor GameWidget.controlled has no game, widget.game is null in the _handleKeyEvent. As a result, no key events are reported.
widget.game
_handleKeyEvent
flame/packages/flame/lib/src/game/game_widget/game_widget.dart
Lines 286 to 292 in e97893f
Report key events.
Are you interested in working on a PR for this? YES
The text was updated successfully, but these errors were encountered:
I think this might already be fixed in #1725, right @renancaraujo?
Sorry, something went wrong.
I can carefully say that It seems a little different scope, doesn't it?
Ah right, I confused things! :)
fix: Correct key events in GameWidget.controller (#1745)
01ed2ec
Fixes #1744
Successfully merging a pull request may close this issue.
Current bug behaviour
As constructor GameWidget.controlled has no game,
widget.game
is null in the_handleKeyEvent
.As a result, no key events are reported.
flame/packages/flame/lib/src/game/game_widget/game_widget.dart
Lines 286 to 292 in e97893f
Expected behaviour
Report key events.
More environment information
More information
Are you interested in working on a PR for this? YES
The text was updated successfully, but these errors were encountered: