g1455
0.4.0, released 4 weeks ago by plugfox.dev
Liquid Glass for Flutter with refraction, blur, tint, and shared capture.
What it does
Provides a performant Liquid Glass UI implementation for Flutter using a shared capture host. It offers glass refraction, blur, tints, rims, and a suite of UI components like bars, tabs, switches, sliders, menus, sheets, and dialogs.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want glassmorphic UI components with high performance and shared background captures.
- Your app targets Flutter 3.47 or later and requires liquid glass finishes.
Skip it when
- You need to support older versions of Flutter below 3.47.
- You prefer standard Material Design widgets without glass styling.
Strengths
- Shares a single capture atlas across multiple glass components to optimize GPU cost.
- Skips capture updates when underlying content hasn't changed.
- Includes a rich set of drop-in glass widgets like bars, tabs, switches, and alerts.
Weaknesses
- API is in the 0.x stage and minor version changes may require code updates.
- Relies heavily on recent Flutter and Impeller engine capabilities for best performance.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add the dependency via pub add and place a GlassHost above your navigator.
import 'package:flutter/material.dart';
import 'package:g1455/g1455.dart';
void main() => runApp(const App());
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) => MaterialApp(
builder: (BuildContext context, Widget? navigator) => GlassHost(
child: navigator!,
),
home: Scaffold(
body: Center(
child: GlassBar(child: Text('Liquid Glass'))
),
),
);
}Alternatives
Packages that do the same job and could replace g1455.
- cupertino_native_better
Native iOS and macOS Liquid Glass controls and widgets in Flutter with Cupertino fallbacks.
87Compare - liquid_glass_renderer
iOS 27-style liquid glass renderer for Flutter with refraction, frost, and tint.
87Compare - liquid_glass_widgets
iOS-style liquid glass widgets with fragment shader blur, refraction, and jelly physics.
94Compare - native_liquid_glass
Apple Liquid Glass iOS platform views for Flutter using native UIKit components.
64Compare