KeyboardEvent constructor
KeyboardEvent(})
Implementation
KeyboardEvent(
super.type, {
Window? view,
this.altKey = false,
int? charCode,
this.code,
this.ctrlKey = false,
this.isComposing = false,
int? keyCode,
this.location,
this.metaKey = false,
this.repeat = false,
this.shiftKey = false,
super.canBubble,
super.cancelable,
}) : charCode = charCode ?? -1,
keyCode = keyCode ?? -1;