flutter_shaders library

Classes

CloudShader
A reusable animated cloud background powered by fragment shaders.
CurlCard
A card widget with a page-curl effect when swiped horizontally.
FractalBlurLayer
A reusable layer widget that applies the fractal blur "reeded glass" shader to its child. Place it in a Stack above your background content and below any foreground UI.
FragmentShader
A Shader generated from a FragmentProgram.
FrostBlurLayer
A layer widget that applies a frosted glass blur and distortion shader to its child. Similar to FractalBlurLayer, but based on a noise-driven frosty diffusion pattern. Use shape and borderRadius to clip the output to rounded rectangles or circles.
FrostLayerController
FrostShaderLayer
FrostShaderLayer A reusable overlay that renders a spreading-frost post-process over its child while letting the child continue to update/animate underneath.
LiquidGlassContainer
A container widget with liquid glass effect, similar to Container but with glass styling.
MotionBlurLayer
ShaderUtils
Utility class for shader-related operations
SpreadingFrostController
Controller to start the frost transition from outside the widget.
SpreadingFrostImageSwitcher
An image switcher that plays a Spreading Frost transition when switching.
SpreadingFrostWidget
SpreadingFrostWidget
WeatherRainLayer
WeatherRainLayer A post-process layer that simulates rainy glass refraction and blur over its child. Place it in a Stack between your background content and any foreground UI you want to keep sharp.

Enums

CloudColorPreset
Available preset color palettes for the cloud shaders.
CloudShaderStyle
Available cloud shader styles.

Typedefs

OnCurlComplete = void Function(double curlAmount)
Callback invoked when curl gesture completes.