KeyPress constructor

const KeyPress(
  1. LogicalKeyboardKey key, {
  2. bool? alt,
  3. bool? control,
  4. bool? shift,
  5. bool? meta,
})

Implementation

const KeyPress(
  this.key, {
  this.alt,
  this.control,
  this.shift,
  this.meta,
});