DiagramShortcut class final

One key with the modifiers held with it, such as R or ⇧T.

Constructors

DiagramShortcut(String key, {Set<DiagramKeyModifier> modifiers = const {}})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
identity → String
A stable identity for lookups: modifiers in declaration order, then the lowercase key.
no setter
key → String
A single character, matched case-insensitively.
final
modifiers → Set<DiagramKeyModifier>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

label({bool apple = true}) → String
The shortcut as shown in tooltips and menus: symbols on Apple platforms (⌘⇧T), names elsewhere (Ctrl+Shift+T).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override