fresnel_shader 0.1.0
fresnel_shader: ^0.1.0 copied to clipboard
Shader-based Liquid Glass fallback for fresnel. Pure Dart — runs on every platform Flutter targets.
0.1.0 #
Initial release.
- Native Liquid Glass on iOS 26+ via SwiftUI
glassEffect, hosted in a platform view that renders only the material — content stays a Flutter subtree composited above it. GlassContainer/GlassElementViewmapping ontoGlassEffectContainer, with proximity merging,glassEffectUnionandglassEffectIDmorphing.- Fragment-shader fallback with SDF refraction and a specular rim on Impeller,
and a
BackdropFilterfallback on Skia and web. FresnelScopefixes the render path per route;FresnelThemecarries the design tokens.- Reduce Transparency renders an opaque fill on every path; Reduce Motion suppresses animation.
- SF Symbols rasterised natively on Apple platforms with a caller-supplied fallback icon elsewhere.