perspective_space 0.1.1
perspective_space: ^0.1.1 copied to clipboard
Buttery-smooth 3D perspective and parallax widgets for Flutter. Tilt, shake, and stack layers with depth — gesture-driven or auto-animated. Zero dependencies, works on every Flutter platform.
Changelog #
0.1.1 #
- Switched README cross-links (
中文文档,English) to absolute GitHub URLs so they are clickable on pub.dev (pub.dev does not resolve relative markdown links). - Added a live web demo at https://cccmax.github.io/perspective_space,
auto-deployed via GitHub Actions on every push to
main.
0.1.0 — initial release #
PerspectiveSpacecontainer with shared rotation and perspective.PerspectiveLayerchild withelevation-based parallax offset.- Gesture-driven tilt with configurable sensitivity, clamping, and spring-back.
- Optional entry shake animation with a custom
TweenSequence. PerspectiveSpaceControllerfor imperatively triggering shakes.- Three presets:
PerspectiveTiltCard,PerspectiveParallax,PerspectiveShakeEntry. - Zero third-party dependencies. Runs on iOS, Android, Web, macOS, Windows, and Linux.