fresnel 0.1.0
fresnel: ^0.1.0 copied to clipboard
Apple Liquid Glass for Flutter. Real native iOS 26+ glass via SwiftUI platform views, with a calibrated shader fallback on Android, web and desktop.
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.
