Incompatible with flutter 3.19.0
onism0106 opened this issue · 5 comments
onism0106 commented
The argument type 'RawKeyEvent' can't be assigned to the parameter type 'KeyEvent'.
Admin-eSparks commented
+1 Experiencing the same issue
raphasampaio commented
Same issue here:
.../xterm-3.5.0/lib/src/terminal_view.dart(387,7): error GDAEE715C:
The argument type 'RawKeyEvent' can't be assigned to the parameter type 'KeyEvent'.
ffamar commented
+1 Same issue.
squaregen commented
The problem arises from changes made in Flutter to keyboard key management.
See https://docs.flutter.dev/release/breaking-changes/key-event-migration
Until the library is officially updated you can try using this version:
https://github.com/Multi-Tech-s-r-l/xterm.dart
xtyxtyx commented
Thanks for reporting the the incompatibility.
Version 4.0.0 of xterm.dart now works with Flutter 3.19.0.