Skip to main content

glass 3.0.1 copy "glass: ^3.0.1" to clipboard
glass: ^3.0.1 copied to clipboard

Turn any widget into frosted glass or Apple-style liquid glass (refraction, rim light, tint) with a single asGlass() call.

Changelog #

3.0.1 - 2026-11-14 #

Bug Fixes #

  • keep liquid glass visible without shader support (#41) (d32aefb)

3.0.0 - 2026-11-13 #

⚠ BREAKING CHANGES #

  • asGlass no longer accepts clipBehaviour (deprecated since 2.2.0). Use clipBehavior.

Features #

  • remove the deprecated clipBehaviour parameter (#28) (d5418de)

2.5.0 - 2026-11-13 #

Features #

  • add grouped glass and speed up liquid glass on Android (#31) (fc98977)

Bug Fixes #

  • make liquid glass bend along a custom clipper and per-corner radii (#30) (a7bd4f8)

2.4.0 - 2026-11-09 #

Features #

  • add LiquidGlass.precache() to load the liquid shader ahead of time (#25) (7711130)

2.3.2 - 2026-11-07 #

Bug Fixes #

  • show the animated liquid glass showcase in the README (#22) (62e460b)

2.3.1 - 2026-11-07 #

Bug Fixes #

  • add pub.dev screenshots, liquid-glass topic and a clearer description (#19) (79c6c4c)

2.3.0 - 2026-11-07 #

Features #

  • add experimental liquid glass option (requires Flutter 3.29 or newer) (78c9a34)

2.2.0 - 2026-11-06 #

Features #

  • add clipBehavior and deprecate misspelled clipBehaviour (7e53b0d)

2.1.0 - 2026-11-03 #

Features #

  • replace deprecated withOpacity with withValues (04f8eeb)
  • require Flutter 3.27 or newer (Dart 3.6) (f457f67)

2.0.0+2 - 2024-11-17 #

  • Address lints

2.0.0 - 2024-02-14 #

  • BREAKING CHANGE: asGlass returns Widget instead of ClipRRect now.
  • Added enabled parameter to enable or disable all effects.
  • Relaxed SDK constraints

1.0.2 - 2023-10-21 #

  • Flutter version upgrade

1.0.1 - 2021-06-28 #

  • Added support for classes that extend Widget as well.

1.0.0 - 2021-05-20 #

  • First major release

0.1.0 - 2021-05-20 #

  • Changed default values for blurX and blurY for better blurring

0.0.9 - 2021-05-20 #

  • Minor bugfixes

0.0.8 - 2021-05-20 #

  • Added parameters frosted and tintColor to .asGlass()

0.0.7 - 2021-05-16 #

  • File restructuring, cleanup and better API documentation for the .asGlass() method

0.0.6 - 2021-05-16 #

  • Minor changes and clearer API documentation

0.0.1 - 2021-05-16 #

  • Initial release - Create glass widgets using the "asGlass()" method
136
likes
160
points
1.76k
downloads
screenshot

Documentation

API reference

Publisher

verified publisherzac.ac

Weekly Downloads

Turn any widget into frosted glass or Apple-style liquid glass (refraction, rim light, tint) with a single asGlass() call.

Repository (GitHub)
View/report issues

Topics

#glassmorphism #liquid-glass #blur #effects #ui

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on glass