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
-
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