progressive_blur
0.0.2, released a year ago by kekland.com
An iOS-like progressive blur implementation for Flutter using shaders.
What it does
Provides a ProgressiveBlurWidget that applies a gradient or custom texture-based blur effect over child widgets. Supports tint color customization and leverages flutter_shaders.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to create iOS-style progressive blur effects over your Flutter UI
- You need gradient blur transitions using shaders
Skip it when
- You are targeting web with CanvasKit where performance is reported to be terrible
- You need a production-ready package with stable APIs and guaranteed optimal performance
Strengths
- Easy to use widget API with gradient and custom texture support
- Tint color support
Weaknesses
- Early experimental version with suboptimal performance and potential API changes
- Terrible performance on web with CanvasKit
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires the flutter_shaders dependency.
ProgressiveBlurWidget(
sigma: 24.0,
linearGradientBlur: const LinearGradientBlur(
values: [0, 1],
stops: [0.5, 0.8],
start: Alignment.topCenter,
end: Alignment.bottomCenter,
),
tintColor: Colors.orange.withOpacity(0.3),
child: ...,
);Alternatives
Packages that do the same job and could replace progressive_blur.
- 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 - anydrawer
Flutter drawer widget that slides from any edge without requiring a Scaffold.
75Compare
Works with
Packages commonly used together with progressive_blur: ones it builds on, ones built on it, and its own family.