RawKeyEventDataWeb 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 RawKeyEventDataWeb({
  1. required String code,
  2. required String key,
  3. int location = 0,
  4. int metaState = modifierNone,
  5. int keyCode = 0,
})

Creates a key event data structure specific for Web.

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 RawKeyEventDataWeb({
  required this.code,
  required this.key,
  this.location = 0,
  this.metaState = modifierNone,
  this.keyCode = 0,
});