Skip to content
pubscout

glassmorphism_ui

0.3.0, released 4 years ago by an unverified publisher

Create glassmorphic UI components with frosted glass effects.

WASM-ready
$ flutter pub add glassmorphism_ui
Source repository

What it does

Provides customized widgets such as GlassContainer, GlassImage, and BlurredImage to easily implement glassmorphism design styles in Flutter apps. Also offers extension methods for blurring images and widgets.

AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to implement a glassmorphism design language in your app.
  • You need frosted glass overlays on containers and images.

Skip it when

  • You need complex UI component sets like full Material or Cupertino widget libraries.
  • Performance on very old low-end devices is a primary concern with heavy blur effects.

Strengths

  • Easy to use widgets like GlassContainer and GlassImage
  • Handy extension methods for blurring images and text
  • Customizable properties including blur, gradient, borders, and shadows

Weaknesses

  • Limited to a specific niche aesthetic (glassmorphism)
  • Not documented for advanced platform-specific tuning

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
GlassContainer(
  height: 200,
  width: 200,
  blur: 4,
  color: Colors.white.withOpacity(0.1),
  gradient: LinearGradient(
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
    colors: [
      Colors.white.withOpacity(0.2),
      Colors.blue.withOpacity(0.3),
    ],
  ),
  border: Border.fromBorderSide(BorderSide.none),
  shadowStrength: 5,
  shape: BoxShape.circle,
  borderRadius: BorderRadius.circular(16),
  shadowColor: Colors.white.withOpacity(0.24),
)

Alternatives

Packages that do the same job and could replace glassmorphism_ui.