RawKeyEvent constructor Null safety
- {required RawKeyEventData data,
- String? character,
- bool repeat = false}
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
Implementation
const RawKeyEvent({
required this.data,
this.character,
this.repeat = false,
});