MouseEvent class

The base class for all mouse events.

Inheritance
Mixed in types
Implementers

Constructors

MouseEvent({required Sdl sdl, required int timestamp, required int windowId, required int which, required int x, required int y})
Create an event.

Properties

coordinates Point<int>
Complete coordinates.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTouchInput bool
Returns true if this event was generated by touch input.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdl Sdl
The SDL bindings to use for this event.
finalinherited
timestamp int
The time this event was emitted.
finalinherited
which int
The mouse instance ID.
final
window Window?
The window that emitted this event.
no setterinherited
windowId int
The ID of the window that emitted this event.
latefinalinherited
x int
X coordinate.
latefinalinherited
y int
Y coordinate.
latefinalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited