liquid_glass_renderer library

Liquid Glass Effect for Flutter

Classes

FakeGlass
A lower-cost approximation of LiquidGlass without refraction geometry.
GlassGlow
If placed as a descendant of a GlassGlowLayer, this widget will send touch updates to that layer to create a glow effect.
GlassGlowLayer
Represents a layer that can paint a glowing effect below its child.
LgrLogs
Logging utilities for the Liquid Glass Renderer package.
LiquidGlass
A liquid glass shape.
LiquidGlassAppearance
Lightweight color and materialization controls for one glass shape.
LiquidGlassBlendGroup
A widget that groups multiple liquid glass shapes for blending.
LiquidGlassCapture
Captures the backdrop once for all the glass inside it.
LiquidGlassColorModel
Defines how a glass tint is combined with transmitted backdrop content.
LiquidGlassLayer
Represents a layer of multiple LiquidGlass shapes or LiquidGlassBlendGroups that have shared LiquidGlassSettings and will be rendered together.
LiquidGlassSettings
Material parameters for the liquid-glass compositor.
LiquidGlassVisibility
Multiplies the material visibility of descendant glass shapes.
LiquidOval
Represents an ellipse shape that can be used by a LiquidGlass widget.
LiquidRoundedRectangle
Represents a rounded rectangle shape that can be used by a LiquidGlass widget.
LiquidRoundedSuperellipse
Represents a squircle shape that can be used by a LiquidGlass widget.
LiquidShape
Represents a shape that can be used by a LiquidGlass widget.
LiquidStretch
A widget that provides a squash and stretch effect to its child based on user interaction.
RawLiquidStretch
Use this widget to apply a custom stretch effect in pixels to its child.

Enums

GestureMode
Controls which gesture handling mechanism is used to detect interactions.

Extensions

OffsetResistanceExtension on Offset
Provides withResistance method to apply drag resistance to an Offset.

Properties

debugPaintLiquidGlassGeometry ↔ bool
Whether to paint the liquid glass geometry texture for debugging purposes.
getter/setter pair