RawKeyEventDataMacOs 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 RawKeyEventDataMacOs(
  1. {String characters = '',
  2. String charactersIgnoringModifiers = '',
  3. int keyCode = 0,
  4. int modifiers = 0,
  5. int? specifiedLogicalKey}
)

Creates a key event data structure specific for macOS.

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 RawKeyEventDataMacOs({
  this.characters = '',
  this.charactersIgnoringModifiers = '',
  this.keyCode = 0,
  this.modifiers = 0,
  this.specifiedLogicalKey,
});