InputEvent constructor Null safety

InputEvent(
  1. String type,
  2. bool bubbles,
  3. num localX,
  4. num localY,
  5. num stageX,
  6. num stageY,
  7. bool? altKey,
  8. bool? ctrlKey,
  9. bool? shiftKey
)

Creates a new InputEvent.

Implementation

InputEvent(String type, bool bubbles, this.localX, this.localY, this.stageX,
    this.stageY, this.altKey, this.ctrlKey, this.shiftKey)
    : super(type, bubbles);