The shortcut representation of Delete and Backspace keys is wrong
Providing the Delete or Backspace keys as shortcuts to the ContextMenuItems like this:
final selectedItem = await showContextMenu(
menuItems: [
ContextMenuItem(
title: 'Test delete',
onTap: () {},
shortcut: const SingleActivator(
LogicalKeyboardKey.delete,
),
),
const ContextMenuSeparator(),
const ContextMenuItem(
title: 'Test backspace',
shortcut: SingleActivator(
LogicalKeyboardKey.backspace,
),
),
],
);
doesn't show the correct symbol next to the menu entry, but shows instead "D" or "B":
It should show ⌦ or ⌫, respectively.
Hi @whiplashoo, thank you for opening this issue! This is being investigated and a fix is being worked on 👍
EDIT: A PR has been opened however, while testing it we've noticed that before Flutter 3.0 it works fine however since Flutter 3.0 the changes in the PR do not fix the problem...
Sorry to get back to this, but is there a fix available?
This package (actually all rows packages) is not being maintained anymore, apparently.