MouseEvent constructor

MouseEvent(
  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,
  10. num deltaX,
  11. num deltaY,
  12. bool buttonDown,
  13. int clickCount,
  14. DataTransfer? dataTransfer,
)

Creates a new MouseEvent.

Implementation

MouseEvent(
    super.type,
    super.bubbles,
    super.localX,
    super.localY,
    super.stageX,
    super.stageY,
    bool super.altKey,
    bool super.ctrlKey,
    bool super.shiftKey,
    this.deltaX,
    this.deltaY,
    this.buttonDown,
    this.clickCount,
    this.dataTransfer);