RawKeyDownEvent constructor Null safety

const RawKeyDownEvent(
  1. {required RawKeyEventData data,
  2. String? character,
  3. bool repeat = false}
)

Creates a key event that represents the user pressing a key.

Implementation

const RawKeyDownEvent({
  required super.data,
  super.character,
  super.repeat,
});