[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception:
'package:flutter/src/services/hardware_keyboard.dart': Failed assertion:
line 434 pos 16: '_pressedKeys.containsKey(event.physicalKey)':
A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed.
If this occurs in real application, please report this bug to Flutter.
If this occurs in unit tests, please ensure that simulated events follow
Flutter's event model as documented in `HardwareKeyboard`.
This was the event: KeyUpEvent#c825b(physicalKey: PhysicalKeyboardKey#e6f4b(
usbHidUsage: "0x0007002a", debugName: "Backspace"),
logicalKey: LogicalKeyboardKey#147d9(keyId: "0x100000008",
keyLabel: "Backspace", debugName: "Backspace"),
character: null, timeStamp: 0:00:04.824600, synthesized)
해결방법 : 에뮬레이터 종료 후 재구동
'App > Flutter' 카테고리의 다른 글
[ FLUTTER ] pakage-name : 작성중 (0) | 2023.11.03 |
---|---|
[ flutter ] 위젯을 그린 후 위젯 (0) | 2023.10.21 |
[Flutter] adb 무선 연결 (0) | 2023.08.27 |
[ FLUTTER ] Riverpod 카운트증가 앱 예제 (0) | 2023.08.17 |
[ FLUTTER ] arm-linux-androideabi 에러 (0) | 2023.08.04 |