UserEvent class

A user event.

Exposes events of type SDL_EventType.SDL_USEREVENT.

Inheritance

Constructors

UserEvent({required Sdl sdl, required int timestamp, required int type, required int? windowId, required int code})
Create an instance.
const

Properties

code int
A user defined code.
final
hashCode int
The hash code for this object.
no setterinherited
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
type int
The type of this event.
final
windowId int?
The window ID (if any).
final

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