Skip to content
pubscout

flutter_tilt

4.1.0, released 4 months ago by amooos.com

Easily apply tilt parallax hover effects for Flutter with support for light, shadow and gyroscope sensors.

WASM-readyRock solid
$ flutter pub add flutter_tilt
Source repository

What it does

Provides customizable tilt and parallax hover effects for Flutter widgets. It simulates light, shadow, and depth while supporting gyroscope sensor input and various user gestures like hover and touch.

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

Use it when

  • You want to add 3D tilt and parallax hover effects to cards or UI elements.
  • You need sensor-based tilt reactions using device gyroscopes.
  • You want simulated light and shadow effects reacting to user input.

Skip it when

  • You are building a standard flat UI without interactive depth or tilt effects.
  • You require complex game physics engines rather than simple UI tilt and parallax.

Strengths

  • Supports gyroscope sensors for physical tilt effects.
  • Includes built-in simulated light and shadow effects.
  • Customizable parameters and multiple layout configurations.

Weaknesses

  • Simulated light effect is not ideal for Projector containers.
  • Requires managing breaking changes when migrating major versions.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Depends on sensors_plus for gyroscope features; ensure platform setup for sensors if required by sensors_plus.

Tilt(
  child: Container(
    width: 200,
    height: 300,
    color: Colors.blue,
  ),
)

Alternatives

Packages that do the same job and could replace flutter_tilt.

  • animations

    Choose this if you need pre-canned material motion and standard transition animations instead of interactive tilt and parallax effects.

Works with

Packages commonly used together with flutter_tilt: ones it builds on, ones built on it, and its own family.