DisplayEvent class
A generic display event.
Constructors
- DisplayEvent({required Sdl sdl, required int timestamp, required int displayIndex, required DisplayEventID eventID, required int padding1, required int padding2, required int padding3, required int data1})
-
Create an event.
const
- DisplayEvent.fromEvent(Sdl sdl, SDL_Event event)
-
Create an instance from
event
.
Properties
- data1 → int
-
Data 1.
final
- displayIndex → int
-
The associated display index.
final
- eventID → DisplayEventID
-
The ID of the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding1 → int
-
Padding 1.
final
- padding2 → int
-
Padding 2.
final
- padding3 → int
-
Padding 3.
final
- 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
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