RawKeyEventDataLinux constructor

  1. @Deprecated('Platform specific key event data is no longer available. See KeyEvent for what is available. ' 'This feature was deprecated after v3.18.0-2.0.pre.')
const RawKeyEventDataLinux(
  1. {required KeyHelper keyHelper,
  2. int unicodeScalarValues = 0,
  3. int scanCode = 0,
  4. int keyCode = 0,
  5. int modifiers = 0,
  6. required bool isDown,
  7. int? specifiedLogicalKey}
)

Creates a key event data structure specific for Linux.

Implementation

@Deprecated(
  'Platform specific key event data is no longer available. See KeyEvent for what is available. '
  'This feature was deprecated after v3.18.0-2.0.pre.',
)
const RawKeyEventDataLinux({
  required this.keyHelper,
  this.unicodeScalarValues = 0,
  this.scanCode = 0,
  this.keyCode = 0,
  this.modifiers = 0,
  required this.isDown,
  this.specifiedLogicalKey,
}) : assert((unicodeScalarValues & ~LogicalKeyboardKey.valueMask) == 0);