touch_ripple_effect
3.0.0, released a year ago by presswink.com
A Flutter package to add touch ripple effect and touch feedback to any widget.
WASM-ready
What it does
Provides TouchRippleEffect and TouchFeedback widgets that wrap arbitrary children and render customizable ripple animations upon user taps or long presses.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to add custom touch ripple effects to non-Material widgets or custom containers.
- You need touch feedback animations with configurable duration, color, and border radius.
Skip it when
- You are using standard Material widgets like InkWell or TextButton which already include built-in ripple effects.
Strengths
- Simple API with clear TouchRippleEffect and TouchFeedback widgets.
- Supports customizable ripple color, duration, border radius, and shadows.
- Handles both onTap and onLongPress gestures.
Weaknesses
- Limited feature set compared to the built-in Material InkResponse and InkWell system.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
TouchRippleEffect(
borderRadius: BorderRadius.circular(5),
rippleColor: Colors.white60,
onTap: () {},
child: Container(
width: 110,
height: 50,
alignment: Alignment.center,
color: Colors.pink,
child: Text("On Click"),
),
)Alternatives
Packages that do the same job and could replace touch_ripple_effect.
- shadow_widget
A widget that adds a shadow effect to any Flutter widget.
49Compare - drop_shadow
Add drop shadow effects to any Flutter widget easily.
48Compare - sliding_clipped_nav_bar
Bottom navigation bar with sliding clipping effect and ripple on tap.
49Compare - bubble_tab_indicator
Provides a bubble-style indicator for TabBar in Flutter.
48Compare