component/shaders/liquid_glass library

Classes

LiquidGlass
Widget that wraps any child to make it appear as a liquid glass droplet.
LiquidGlassGroup
Container widget that manages multiple liquid glass shapes and applies the shader effect. This widget loads the fragment shader and creates a render layer that collects all LiquidGlass children and applies the unified glass effect to them.
LiquidGlassRenderPusher
LiquidGlassSettings
Configuration class that holds all visual parameters for the liquid glass shader effect. These parameters control various aspects like refraction, blur, lighting, and color.
LiquidGlassShapeData
Simplified shape data structure used to pass geometry information to the shader. Each LiquidGlass widget gets converted into this format for GPU processing. The border radius is automatically clamped to max(width/2, height/2) to ensure valid geometry.
RenderLiquidGlass
The render object for individual glass shapes.

Properties

globalGroup ↔ _RenderLiquidGlassGroup?
getter/setter pair
globalLiquidGlassPusher LiquidGlassRenderPusher
getter/setter pair