Skip to content
pubscout

adaptive_liquid_glass

0.7.2, released 6 days ago by an unverified publisher

Provides iOS‑style Liquid Glass widgets with Material 3 fallbacks for Android.

WASM-ready
$ flutter pub add adaptive_liquid_glass
Source repository

What it does

Offers adaptive glass‑effect UI components that render native iOS liquid glass on iOS 26+ and Material 3 surfaces on Android. The API is platform‑agnostic, so no branching is required.

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

Use it when

  • You need iOS‑styled glass UI that matches SwiftUI on iOS 26+
  • You want a single API that automatically falls back to Material 3 on Android

Skip it when

  • You target platforms other than iOS or Android (e.g., web, desktop)
  • You require highly custom glass shaders beyond the provided presets

Strengths

  • Pixel‑accurate iOS liquid glass verified against SwiftUI
  • Single adaptive API, no platform checks needed
  • Material 3 fallback works out‑of‑the‑box

Weaknesses

  • Only supports iOS and Android
  • Initial frame may show a plain blur before shaders load

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Add the dependency and optionally call AdaptiveLiquidGlass.initialize() before runApp()

import 'package:adaptive_liquid_glass/adaptive_liquid_glass.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  await AdaptiveLiquidGlass.initialize();
  runApp(const MaterialApp(home: Scaffold(body: Center(child: GlassButton(onPressed: null, child: Text('Tap me'))))));
}

Alternatives

Packages that do the same job and could replace adaptive_liquid_glass.

  • material_ui

    Provides a broad set of cross‑platform widgets without glass‑specific effects

Works with

Packages commonly used together with adaptive_liquid_glass: ones it builds on, ones built on it, and its own family.