PCanvasKeyEvent constructor

const PCanvasKeyEvent(
  1. String type,
  2. int charCode,
  3. String? code,
  4. String? key,
  5. bool ctrlKey,
  6. bool altKey,
  7. bool shiftKey,
  8. bool metaKey, {
  9. PCanvasKeyEvent? parentEvent,
  10. PCanvasElement? targetElement,
  11. PCanvas? pCanvas,
  12. Object? nativeEvent,
})

Implementation

const PCanvasKeyEvent(super.type, this.charCode, this.code, this.key,
    this.ctrlKey, this.altKey, this.shiftKey, this.metaKey,
    {PCanvasKeyEvent? parentEvent,
    super.targetElement,
    super.pCanvas,
    super.nativeEvent})
    : super(parentEvent: parentEvent);