glossy
0.0.5, released 2 years ago by an unverified publisher
Provides a GlossyContainer widget for glass‑morphic UI effects in Flutter.
WASM-ready
What it does
The package offers a GlossyContainer widget that applies blur, opacity, gradients, and optional background images to create a frosted‑glass look. It works on all Flutter platforms and requires only the standard Flutter SDK.
AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick glass‑morphism effect without writing custom shaders
- You want a cross‑platform widget that works on mobile, web, and desktop
Skip it when
- Performance is critical on low‑end devices
- You need highly customized blur or complex visual effects beyond the provided parameters
Strengths
- Simple API with many visual parameters
- Works on all Flutter platforms out of the box
- No native setup or permissions required
Weaknesses
- Limited to a single container widget
- Customization is confined to the exposed properties
- Potential performance impact due to blur on large areas
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:flutter/material.dart';
import 'package:glossy/glossy.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.black,
appBar: AppBar(title: const Text('Glass Morphism Example')),
body: Center(
child: GlossyContainer(
width: 200,
height: 200,
borderRadius: BorderRadius.circular(12),
child: const Center(child: Text('Glass Morphism', style: TextStyle(color: Colors.white))),
),
),
),
);
}
}Alternatives
Packages that do the same job and could replace glossy.
- home_widget
Plugin to send data to native home screen widgets on Android and iOS
88Compare - flutter_layout_grid
A grid layout system for Flutter inspired by CSS Grid Layout.
68Compare - simple_tooltip
A Flutter widget for customizable balloon‑style tooltips.
50Compare - dough
Provides squishy UI widgets for Flutter
50Compare