liquid_glass_renderer
The raw renderer for a liquid glass effect in Flutter.
0.2.0-dev.4
26K downloads/mo
#1972 most downloaded on pub.dev
whynotmake-it/flutter_liquid_glass
What this package is like to depend on
Last release 9 months ago
13 Nov 2025
Release timing varies
gaps range from 8 days to 2 months
Unknown
no stable releases
Nothing withdrawn
no release was ever pulled
1 years old
31 releases · first in 2025
20 releases in the last 12 months
see the full history below
Release timeline
31 releases · Jun 2025 to Nov 2025Releases
latest 31-
0.2.0-dev.413 Nov 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FIX: fake glass didn't render properly on skia and had bad specular highlights (#119).
-
0.2.0-dev.303 Nov 2025 pre-releaseRelease notes
Open source →-
FIX: improve logging readability and names.
-
FIX: don't create intermediate images for geometry until it's settled.
This should decrease memory consumption somewhat, as a layer with one animating geometry would create 2 images per frame before
-
FEAT: export
debugPaintLiquidGlassGeometry(#111).
-
-
0.2.0-dev.230 Oct 2025 pre-releaseRelease notes
Open source →- FIX: glass was always grouped no matter which constructor was used.
- FIX: one frame delay in geometry mattes.
- FIX: link doesn't need to notify listeners, we can mark it dirty.
-
0.2.0-dev.130 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
-
FIX: adjust
LiquidGlassSettingsdefaults to match the look more closely. -
FEAT: cache geometry images as well to make sure we only run the geometry shader when absolutely necessary.
-
DOCS: mention Impeller requirement earlier in README.
-
DOCS: update README with newest changes and performance tips.
-
BREAKING REFACTOR: renamed many constructors and default
LiquidGlassto not creating its own layer.Please read the README to understand how to use this package.
-
BREAKING REFACTOR:
LiquidGlassShapes now take a simple double as radius. -
BREAKING REFACTOR: move
blendsetting fromLiquidGlassSettingstoLiquidGlassBlendGroup. -
BREAKING FEAT: adjust fake glass light intensity.
-
BREAKING FEAT: rewrote rendering pass to use two passes.
We now cache all geometry into textures first, then render liquid glass in a second pass. This allows us to save a lot of cycles while glass shapes are static.
-
-
0.1.1-dev.2624 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
-
FIX: only run shader on bounding box pixels.
-
FIX: set alwaysNeedsCompositing correctly on
FakeGlass. -
BREAKING REFACTOR: change default blend value to 0 in
LiquidGlassSettings. -
BREAKING REFACTOR: move
fakeparameter toLiquidGlassLayerand make entire layer fall back to fake glass on Skia. -
BREAKING FEAT: visibility parameter in
LiquidGlassSettings.This can be used to scale all relevant properties of the liquid glass effect at once.
If you have made glass appear and disappear manually before, you can now simply animate the visibility between 0 and 1.
-
-
0.1.1-dev.2523 Oct 2025 pre-releaseRelease notes
Open source →- FEAT: add
fakeparameter toLiquidGlassto enable it to turn intoFakeGlassdynamically (#103).
- FEAT: add
-
0.1.1-dev.2423 Oct 2025 pre-releaseRelease notes
Open source →- FIX: import
@internalfrom meta again (#102). - FIX: scrolling elements work again.
- FEAT: add
FakeGlass.inLayerwhich adopts settings from the nearest ancestor layer.
- FIX: import
-
0.1.1-dev.2322 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: re-use generated geometry more aggressively (#98).
-
0.1.1-dev.2220 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
-
FIX: reduce texture samples (#94).
-
FEAT: small performance wins in shader (#91).
-
BREAKING REFACTOR: remove
restrictThickness. -
BREAKING FEAT: rewrote the rendering process to use two passes.
This significantly improves performance while glass elements are static on screen. Moving glass elements will still induce the same performance cost as before.
-
-
0.1.1-dev.2114 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FIX: drop support for blur in
Glassifyfor significant performance gains (#90).
- BREAKING FIX: drop support for blur in
-
0.1.1-dev.2013 Oct 2025 pre-release -
0.1.1-dev.1913 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- FIX: revert matrix methods to support older Flutter versions again.
- FIX:
TileMode.mirrorinFakeGlassblur. - FEAT: allow customizing
resistanceinLiquidStretch. - FEAT: expose
RawLiquidStretchfor custom pixel-based stretching. - FEAT: expose
Offset.withResistanceextension method. - BREAKING REFACTOR: move
Glassifyto anexperimental.dartimport. - BREAKING FEAT:
LiquidStretchnow bases its stretch on the child's size.
-
0.1.1-dev.1813 Oct 2025 pre-releaseRelease notes
Open source →- FIX: removed unused transform from shader (#88).
- FIX: render liquid glass correctly on all Android devices (#82 by @teociaps).
-
0.1.1-dev.1710 Oct 2025 pre-release -
0.1.1-dev.1609 Oct 2025 pre-release -
0.1.1-dev.1509 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- FIX: settling springs.
- FIX: optimize some painting and transformations with early return.
- FEAT: better specular on all platforms for
FakeGlass(#83). - BREAKING REFACTOR: rename
StretchGlasstoLiquidStretch.
-
0.1.1-dev.1409 Oct 2025 pre-release -
0.1.1-dev.1308 Oct 2025 pre-release -
0.1.1-dev.1208 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- FIX: regression in how
LiquidGlassapplies transform to children. - FEAT: add
GlassGlowLayerandGlassGlowwidget for glow effects. - FEAT: add
StretchGlasswidget that can stretch its child with user gestures. - FEAT: add
FakeGlasswidget that aims to matchLiquidGlassappearance while being much more performant. - BREAKING REFACTOR: remove useless
lightnessparameter from shader andLiquidGlassSettings. - BREAKING REFACTOR: change default value of
glassContainsChildto false.
- FIX: regression in how
-
0.1.1-dev.1106 Oct 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: performance gains and too many changes to cover one by one (#72).
-
0.1.1-dev.1023 Jul 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- REFACTOR: move shader to uniform arrays for better shape support.
- FIX: transform children of liquid glass correctly.
- FEAT: add saturation and brightness controls (#47).
- FEAT: better light dispersion.
- FEAT: support up to 64 shapes per layer.
- FEAT: specular highlights now take the background color into account (#43).
- DOCS: updated README with new parameters (#56).
- DOCS: updated example gif (#55).
- BREAKING FEAT: cheat lighting that is independent from thickness.
-
0.1.1-dev.919 Jun 2025 pre-release -
0.1.1-dev.819 Jun 2025 pre-releaseRelease notes
Open source →- FEAT: added experimental
Glassifywidget that turns any child shape into liquid glass. - FIX: glass now also renders when blend is set to 0.
- FIX: sharper glass edges whithout background shining through.
- FEAT: added refractive index to settings and show values in example.
- FEAT: nicer specular highlights.
- DOCS: update README.md and add better examples (#28)
- FEAT: added experimental
-
0.1.1-dev.715 Jun 2025 pre-releaseRelease notes
Open source →- FIX: throw
AssertionErrorwhen used without Impeller. - DOCS: update pubspec.yaml to reflect minimum SDK and supported platforms.
- FIX: throw
-
0.1.1-dev.615 Jun 2025 pre-release -
0.1.1-dev.514 Jun 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- FEAT: decrease precision in shader to mediump, which should increase performance.
- BREAKING FIX: shader compilation and removed unused outline strength parameter.
-
0.1.1-dev.414 Jun 2025 pre-release -
0.1.1-dev.314 Jun 2025 pre-release -
0.1.1-dev.213 Jun 2025 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- REFACTOR: cleaned up shaders.
- FIX: squircle can handle zero radius.
- FEAT: add
clipBehaviortoLiquidGlass. - FEAT: flutter-approved SDF for squircles.
- FEAT: support three shapes per layer.
- FEAT: support all shapes.
- FEAT: better chromatic abberation.
- DOCS: added pub badge to README.
- BREAKING FEAT: renamed liquid glass shapes to match their OutlinedBorder counterparts.
-
0.1.1-dev.113 Jun 2025 pre-release -
0.1.1-dev.013 Jun 2025 pre-release