"?" can't be assigned?
See original GitHub issueI have the following keymap:
keymap() {
return {
'?': this.showHotKeyHelp,
'/': this.goToSearch
}
}
The /
is working fine. However ?
does not do anything.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
The argument type 'String' can't be assigned to the parameter ...
I am trying to make an HTTP POST request with the flutter plugin HTTP but I am getting an error of the title....
Read more >The argument type 'String' can't be assigned to the ... - GitHub
String url ='https://jsonplaceholder.typicode.com/posts/1'; Response response = await get(Uri.parse(url)); The above snippet worked.
Read more >Flutter Error: The argument type 'String' can't be assigned to ...
The cause of this error is that the functions provided by the http package previously received arguments with both String and Uri types,...
Read more >The argument type 'String?' can't be assigned to ... - YouTube
flutter The argument type 'String?' can't be assigned to the parameter type 'String'a value of type 'list ' can't be assigned to a...
Read more >[Solved] The argument type 'FutureProduct' can't be assigned ...
[Solved] The argument type 'FutureProduct' can't be assigned to the parameter type 'FutureProduct'
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally I catch the problem, the hotkeys triggers by a specified keycode instead of a character. The keydown & keyup event pass me not only an ASCII code as
event.keyCode
representing the original character without holding shift key, but also current charactor asevent.key
. You needs to trigger the hotkey by a charactor, not an ASCII code, but matching bothevent.keyCode
andevent.key
may cause some conflicts. I think it needs two matching modes probably, but I haven’t thought of how to design this feature yet. Do you have any ideas?Browsers doesn’t have any abilities to detect keyboard layout, and no one can promise there’s no conflicts between different layouts, so I consider adding an option to allow users to set their custom keycode map alias, how do you like it?