events library

Classes

DoubleTapCancelEvent
DoubleTapDispatcher
DoubleTapDispatcher propagates double-tap events to every components in the component tree that is mixed with DoubleTapCallbacks. This will be attached to the FlameGame instance automatically whenever any DoubleTapCallbacks are mounted into the component tree.
DoubleTapDispatcherKey
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
MouseMoveDispatcherKey
MultiDragDispatcher
MultiDragDispatcher facilitates dispatching of drag events to the DragCallbacks components in the component tree. It will be attached to the FlameGame instance automatically whenever any DragCallbacks components are mounted into the component tree.
MultiDragDispatcherKey
MultiDragListener
Interface that must be implemented by a game in order for it to be eligible to receive events from an ImmediateMultiDragGestureRecognizer.
MultiTapDispatcher
MultiTapDispatcherKey
MultiTapListener
Interface that must be implemented by a game in order for it to be eligible to receive events from a MultiTapGestureRecognizer.
PointerHoverInfo
PointerMoveDispatcher
MouseMoveDispatcher facilitates dispatching of mouse move events to the PointerMoveCallbacks components in the component tree. It will be attached to the FlameGame instance automatically whenever any PointerMoveCallbacks components are mounted into the component tree.
PointerMoveEvent
PointerScrollInfo
PositionInfo<T>
A more specialized wrapper of Flame's base class for input events. It adds the eventPosition field and is used by all position based events on Flame.
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
HasKeyboardHandlerComponents<W extends World>
A FlameGame mixin that implements KeyboardEvents with keyboard event propagation to components that are mixed with KeyboardHandler.
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