DVAccelerator class

A parsed accelerator.

Constructors

DVAccelerator({required Set<DVModifierKey> modifiers, required String key})
const

Properties

canonical → String
One spelling for one shortcut, so two register() calls under different spellings cannot grab the same key twice.
no setter
hashCode → int
The hash code for this object.
no setterinherited
key → String
Lower-case. A letter, a digit, or a named key such as f5, space, arrowup.
final
modifiers → Set<DVModifierKey>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
inherited

Static Methods

parse(String text, {bool primaryIsMeta = false}) → DVAccelerator
Reads text.