KeyboardEvent constructor

KeyboardEvent(
  1. Sdl sdl,
  2. int timestamp,
  3. int wndId,
  4. PressedState state,
  5. bool repeat,
  6. KeyboardKey key,
)

Create an event.

Implementation

KeyboardEvent(
  super.sdl,
  super.timestamp,
  final int wndId,
  this.state,
  // ignore: avoid_positional_boolean_parameters
  this.repeat,
  this.key,
) {
  windowId = wndId;
}