glassify

glassify is a lightweight Flutter package that provides customizable glassmorphic UI containers with frosted blur effects, gradient backgrounds, and elegant gradient borders.

It includes:

  • πŸ”³ GlassContainer β€” for fixed-size glassmorphic widgets.
  • πŸ”² GlassFlexContainer β€” for responsive/flexible layout use.
  • 🎨 Custom GlassBorder painter with gradient outlines.

✨ Example

GlassContainer(
  width: 250,
  height: 250,
  borderRadius: 20,
  blur: 10,
  border: 2,
  backgroundGradient: LinearGradient(
    colors: [Colors.white.withAlpha(50), Colors.blue.withAlpha(50)],
  ),
  borderGradient: LinearGradient(
    colors: [Colors.white, Colors.blue],
  ),
  child: Center(child: Text("Glass!")),
),