Skip to content
pubscout

flutter_joystick

0.2.3, released 3 weeks ago by pavelzaichyk.com

A virtual joystick widget for Flutter applications with high customization.

WASM-ready
$ flutter pub add flutter_joystick
Source repository

What it does

Provides interactive virtual joystick components (`Joystick` and `JoystickArea`) that allow users to drag a stick within a defined area and receive position updates via callbacks. Supports various direction modes, snapping features, and customizable base and stick widgets.

AI-written summary of version 0.2.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building games that require directional controls.
  • Implementing custom touch-based navigation or movement pads in apps.

Skip it when

  • You need standard UI navigation components like buttons or sliders.

Strengths

  • Highly flexible and customizable appearance for base and stick.
  • Supports multiple direction modes (all, vertical, horizontal, etc.).
  • Includes a snapping feature for circular and rectangular joysticks.

Weaknesses

  • Limited to virtual joystick and directional input use cases.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
Joystick(
  listener: (details) {
    // Handle joystick movement
  },
)

Alternatives

Packages that do the same job and could replace flutter_joystick.