pdfEditToolShortcutLabel function

String? pdfEditToolShortcutLabel(
  1. PdfEditTool tool, {
  2. Map<PdfEditTool, PdfToolShortcut> shortcuts = pdfEditToolShortcuts,
})

The display label for tool's shortcut key (e.g. 'V' or '⇧L'), or null when the tool has no bound key.

Implementation

String? pdfEditToolShortcutLabel(
  PdfEditTool tool, {
  Map<PdfEditTool, PdfToolShortcut> shortcuts = pdfEditToolShortcuts,
}) =>
    shortcuts[tool]?.label;