liquid_swipe
3.1.0, released 4 years ago by sahdeepsingh.com
A Flutter plugin to implement a liquid swipe effect to provided widgets.
What it does
Provides a widget that lets users swipe between stacked pages using a liquid reveal transition animation. Includes controller support for programmatic page navigation and various customization options like loop control and wave types.
AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building an onboarding flow and want a unique liquid swipe effect
- You want to transition between pages with a custom wave clipper animation
Skip it when
- You need a standard horizontal page slider or tab view without custom physics
- Performance on lower-end devices is a critical concern for heavy custom clippers
Strengths
- Visually striking liquid swipe transition
- Easy integration with standard widgets and containers
- Provides a LiquidController for programmatic navigation
Weaknesses
- Limited to a specific swipe and reveal animation effect
- Can be frequent on swipe callbacks which require careful handling
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to pubspec.yaml and import the package.
final pages = [
Container(color: Colors.green),
Container(color: Colors.blue),
];
LiquidSwipe(pages: pages);Alternatives
Packages that do the same job and could replace liquid_swipe.
- glass
Turn any widget into frosted glass or Apple-style liquid glass with a single asGlass() call.
81Compare - flutter_in_app_pip
Provides in-app Picture-in-Picture support with customizable widget
54Compare - oc_liquid_glass
Create realistic liquid glass droplet effects with GPU-accelerated shaders in Flutter.
59Compare - fade_shimmer
A Flutter library for creating shimmer loading skeleton effects with smooth fade transitions.
57Compare
Works with
Packages commonly used together with liquid_swipe: ones it builds on, ones built on it, and its own family.