Skip to content
pubscout

g1455

0.4.0, released 4 weeks ago by plugfox.dev

Liquid Glass for Flutter with refraction, blur, tint, and shared capture.

WASM-ready
$ flutter pub add g1455
Source repository

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.