RawKeyEventDataAndroid constructor

const RawKeyEventDataAndroid({int flags: 0, int codePoint: 0, int keyCode: 0, int scanCode: 0, int metaState: 0 })

Creates a key event data structure specific for Android.

The flags, codePoint, keyCode, scanCode, and metaState arguments must not be null.

Implementation

const RawKeyEventDataAndroid({
  this.flags = 0,
  this.codePoint = 0,
  this.keyCode = 0,
  this.scanCode = 0,
  this.metaState = 0,
}) : assert(flags != null),
     assert(codePoint != null),
     assert(keyCode != null),
     assert(scanCode != null),
     assert(metaState != null);