Key constructor

const Key({
  1. String text = '',
  2. int mod = 0,
  3. required int code,
  4. int shiftedCode = 0,
  5. int baseCode = 0,
  6. bool isRepeat = false,
})

Implementation

const Key({
  this.text = '',
  this.mod = 0,
  required this.code,
  this.shiftedCode = 0,
  this.baseCode = 0,
  this.isRepeat = false,
});