spoiler_widget
1.0.25, released 7 months ago by an unverified publisher
A Flutter widget that hides content with a blur/particle spoiler animation until tapped.
WASM-ready
What it does
It overlays a configurable blur, particle, or wave effect over any widget or text. Users can reveal the hidden content by tapping, with optional gesture control and custom mask shapes.
AI-written summary of version 1.0.25, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to hide sensitive text or images in a UI
- You want a Telegram‑style spoiler reveal effect
- You require custom particle or wave animations for the reveal
Skip it when
- Static content where a simple opacity change suffices
- Performance‑critical lists with many items where heavy particle rendering may impact FPS
Strengths
- Highly configurable particle and wave effects
- Supports custom mask paths and multiple platforms
- Easy to integrate with existing widgets
Weaknesses
- Potential performance cost on low‑end devices
- Limited to visual hiding; no built‑in content protection
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:spoiler_widget/spoiler_widget.dart';
SpoilerOverlay(
config: WidgetSpoilerConfig(
isEnabled: true,
enableGestureReveal: true,
imageFilter: ImageFilter.blur(sigmaX: 30, sigmaY: 30),
),
child: const Text('Hidden content'),
);Alternatives
Packages that do the same job and could replace spoiler_widget.