inspire_blur
0.4.1, released 3 months ago by inspirestack.app
GPU-powered progressive and variable blur effects for Flutter.
What it does
Provides modern progressive blur effects using custom GPU shaders. It includes both backdrop blur and child blur widgets supporting directional fades, geometric shapes, custom masks, and color adjustments.
AI-written summary of version 0.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need variable or progressive blur intensities (e.g. fading gradients) that Flutter does not natively support.
- You want to build glassmorphic UI elements like iOS-style system bars or blurred cards.
- You are targeting platforms that support custom shaders and Impeller.
Skip it when
- You only require a simple uniform blur that can be handled out-of-the-box by standard Flutter widgets without custom shaders.
- Your target environment lacks proper GPU shader support.
Strengths
- GPU-accelerated custom shader implementation optimized for Impeller.
- Supports both backdrop-level and child-level blur modes.
- Extensive customization options including shapes, custom masks, color tinting, and color adjustments.
Weaknesses
- Relies on custom shaders and rendering pipelines, which may behave differently depending on device capabilities and fallback modes.
- Complex layered layouts may require careful selection between imageFilter and animatedSampler modes.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
It is recommended to call Inspire.warmUp() during app startup to pre-load shaders.
Inspire.childBlur(
config: InspireBlurConfig.topToBottom(sigma: 8),
child: MyWidget(),
)Alternatives
Packages that do the same job and could replace inspire_blur.
- liquid_glass_widgets
iOS-style liquid glass widgets with fragment shader blur, refraction, and jelly physics.
94Compare - g1455
Liquid Glass for Flutter with refraction, blur, tint, and shared capture.
76Compare - frosted_ui_kit
A Flutter UI kit with Apple Liquid Glass aesthetics and Telegram-inspired fluid UI components.
67Compare
Works with
Packages commonly used together with inspire_blur: ones it builds on, ones built on it, and its own family.