RawKeyEventDataAndroid 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 RawKeyEventDataAndroid(
  1. {int flags = 0,
  2. int codePoint = 0,
  3. int plainCodePoint = 0,
  4. int keyCode = 0,
  5. int scanCode = 0,
  6. int metaState = 0,
  7. int eventSource = 0,
  8. int vendorId = 0,
  9. int productId = 0,
  10. int deviceId = 0,
  11. int repeatCount = 0}
)

Creates a key event data structure specific for Android.

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 RawKeyEventDataAndroid({
  this.flags = 0,
  this.codePoint = 0,
  this.plainCodePoint = 0,
  this.keyCode = 0,
  this.scanCode = 0,
  this.metaState = 0,
  this.eventSource = 0,
  this.vendorId = 0,
  this.productId = 0,
  this.deviceId = 0,
  this.repeatCount = 0,
});