RafaelBarbosatec / bonfire

(RPG maker) Create RPG-style or similar games more simply with Flame.
https://bonfire-engine.github.io
MIT License
1.18k stars 177 forks source link

[Bug]: Error: The argument type 'RawKeyEvent' can't be assigned to the parameter type 'KeyEvent' #490

Closed dmonteirosouza closed 4 months ago

dmonteirosouza commented 4 months ago

What happened?

C:/Users/$USER/AppData/Local/Pub/Cache/hosted/pub.dev/bonfire-3.5.0/lib/base/listener_game_widget.dart:305:30: Error: The argument type 'RawKeyEvent' can't be assigned to the parameter type 'KeyEvent'.

Steps to reproduce?

1. Install bonfire
2. Implement BonfireWidget
3. Run main.dart

- Flutter version 3.19.0
- Dart version 3.3.0
- OpenJDK 17.0
- Android 11 (API 30)
- bonfire: ^3.5.0

What did you expect to happen?

I hoped the project would run.

Bonfire version

3.5.0

Relevant log output

No response

RafaelBarbosatec commented 4 months ago

Hi @dmonteirosouza ! Thanks for this report! Problem solved at the version 2.6.0