blurrycontainer
2.1.0, released 3 years ago by kishancodes.app
Creates a frosted glass effect container with blur, color, elevation, and padding.
What it does
The package provides a BlurryContainer widget that overlays a blur effect on its child. It supports custom blur radius, color, elevation, padding, and border radius, and offers convenient named constructors and an extension method.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a frosted glass UI element in a Flutter app
- You want a quick, reusable widget without custom painting
- You are building a UI that requires a blurred background effect
Skip it when
- You need highly performant, complex animations or custom shapes beyond simple border radius
- You are targeting very low-end devices where blur may impact frame rate
Strengths
- Simple API, declarative usage
- Cross-platform support (Android, iOS, Web, Desktop)
- Extension method for easy chaining
Weaknesses
- Limited to container-like widgets, no custom shapes
- No built-in performance tuning options
- No support for dynamic blur changes based on scroll or animation
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add `blurrycontainer: 2.1.0` to pubspec dependencies and import `package:blurrycontainer/blurrycontainer.dart`
BlurryContainer(
child: Text('Hello'),
blur: 5,
width: 200,
height: 200,
elevation: 0,
color: Colors.transparent,
padding: const EdgeInsets.all(8),
borderRadius: const BorderRadius.all(Radius.circular(20)),
)Alternatives
Packages that do the same job and could replace blurrycontainer.
- 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 - parallax_rain
Widget that renders customizable 3D rain effect
75Compare - flutter_shaders_ui
Ready-to-use Flutter widgets powered by GLSL fragment shaders.
72Compare