events library

Classes

DoubleTapCancelEvent
DoubleTapDownEvent
DoubleTapEvent
DragCancelEvent
DragDownInfo
DragEndEvent
DragEndInfo
DragStartEvent
The event propagated through the Flame engine when the user starts a drag gesture on the game canvas.
DragStartInfo
DragUpdateEvent
DragUpdateInfo
ForcePressInfo
HardwareKeyboardDetector
The HardwareKeyboardDetector component allows you to directly listen to events from a hardware keyboard, bypassing the Focus widget in Flutter. It will not listen for events from any on-screen (software) keyboards.
LongPressEndInfo
LongPressMoveUpdateInfo
LongPressStartInfo
MultiDragListener
Interface that must be implemented by a game in order for it to be eligible to receive events from an ImmediateMultiDragGestureRecognizer.
MultiTapListener
Interface that must be implemented by a game in order for it to be eligible to receive events from a MultiTapGestureRecognizer.
PointerHoverInfo
PointerMoveEvent
PointerScrollInfo
ScaleEndInfo
ScaleStartInfo
ScaleUpdateInfo
TapCancelEvent
The event propagated through the Flame engine when a tap on a component is cancelled.
TapDownEvent
The event propagated through the Flame engine when the user starts a touch on the game canvas.
TapDownInfo
TapUpEvent
The event propagated through the Flame engine when the user stops touching the game canvas.
TapUpInfo

Mixins

DoubleTapCallbacks
DoubleTapCallbacks adds the ability to receive double-tap events in a component.
DoubleTapDetector
DragCallbacks
This mixin can be added to a Component allowing it to receive drag events.
ForcePressDetector
HasDraggables
HasDraggablesBridge
Mixin that can be added to a game to indicate that is has Draggable components (in addition to components with DragCallbacks).
HasHoverables
HasKeyboardHandlerComponents<W extends World>
A FlameGame mixin that implements KeyboardEvents with keyboard event propagation to components that are mixed with KeyboardHandler.
HasTappables
Mixin that can be added to a FlameGame allowing it (and the components attached to it) to receive tap events.
HasTappablesBridge
Mixin that can be added to a game to indicate that is has Tappable components (in addition to components with TapCallbacks).
HorizontalDragDetector
HoverCallbacks
This mixin can be added to a Component allowing it to receive hover events.
KeyboardEvents
A Game mixin to make a game subclass sensitive to keyboard events.
LongPressDetector
MouseMovementDetector
MultiTouchDragDetector
Mixin that can be added to a Game allowing it to receive drag events.
MultiTouchTapDetector
Mixin that can be added to a Game allowing it to receive tap events.
PanDetector
PointerMoveCallbacks
This mixin can be added to a Component allowing it to receive pointer movement events.
ScaleDetector
ScrollDetector
SecondaryTapDetector
TapCallbacks
This mixin can be added to a Component allowing it to receive tap events.
TapDetector
TertiaryTapDetector
VerticalDragDetector