RawKeyEvent constructor

  1. @Deprecated('Use KeyEvent instead. ' 'This feature was deprecated after v3.18.0-2.0.pre.')
const RawKeyEvent(
  1. {required RawKeyEventData data,
  2. String? character,
  3. bool repeat = false}
)

Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.

Implementation

@Deprecated(
  'Use KeyEvent instead. '
  'This feature was deprecated after v3.18.0-2.0.pre.',
)
const RawKeyEvent({
  required this.data,
  this.character,
  this.repeat = false,
});