RawKeyDownEvent constructor Null safety

const RawKeyDownEvent(
  1. {required RawKeyEventData data,
  2. String? character}
)

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

Implementation

const RawKeyDownEvent({
  required RawKeyEventData data,
  String? character,
}) : super(data: data, character: character);