diff --git a/veilid-flutter/example/lib/history_wrapper.dart b/veilid-flutter/example/lib/history_wrapper.dart index da1a283a..edcfae1c 100644 --- a/veilid-flutter/example/lib/history_wrapper.dart +++ b/veilid-flutter/example/lib/history_wrapper.dart @@ -55,7 +55,7 @@ class HistoryWrapper { } }); }, - focusNode: FocusNode(onKey: (FocusNode node, RawKeyEvent event) { + focusNode: FocusNode(onKeyEvent: (FocusNode node, KeyEvent event) { if (event.logicalKey == LogicalKeyboardKey.arrowDown || event.logicalKey == LogicalKeyboardKey.arrowUp) { return KeyEventResult.handled;