blurbox
0.0.6, released 2 years ago by ox0.ir
A Flutter package that applies customizable blur effects to its child widgets.
What it does
BlurBox provides a collection of widgets and extension methods to easily apply blur effects to UI elements. It supports standard blurs, animations, themes, directional and radial blurs, pattern overlays, and scroll-aware adjustments.
AI-written summary of version 0.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to apply a frosted glass or blur background effect to UI components.
- You want animated transitions between different blur intensities.
- You need specialized blur effects like directional, radial, or pattern-based blurs.
Skip it when
- You are building performance-critical applications with heavy lists and notice rendering bottlenecks despite applying recommended physics.
- You require non-blur standard container layouts only.
Strengths
- Extensive variety of blur variants (Radial, Directional, Kaleidoscope, Organic, etc.).
- Convenient extension methods like `.blurry()` and `.animatedBlurry()`.
- Supports animated and theme-aware blur behaviors out of the box.
Weaknesses
- Blur effects can be computationally expensive and impact performance on lower-end devices or large scrollable lists.
- Limited platform-specific or backend capabilities beyond rendering visual effects.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
BlurBox(
blur: 5.0,
color: Colors.white.withAlpha(30),
borderRadius: BorderRadius.circular(16),
padding: EdgeInsets.all(20),
child: Text('This text has a blurred background!'),
)Alternatives
Packages that do the same job and could replace blurbox.
- soft_edge_blur
A widget that applies a soft progressive blur to one or more edges of its child.
50Compare - glass
Turn any widget into frosted glass or Apple-style liquid glass with a single asGlass() call.
81Compare - glassmorphism
Create glassmorphic frosted glass containers with backdrop blur and gradient borders.
77Compare - blur
A wrapper widget and extension to blur children and images or apply frosted glass effects.
62Compare