liquid_glass_widgets library

Liquid Glass Implementation according to Apple's Guidelines

Classes

AdaptiveGlass
Adaptive glass widget that intelligently chooses between premium and lightweight shaders based on renderer capabilities.
AdaptiveLiquidGlassLayer
An adaptive liquid glass layer that provides a glass background with proper fallback handling across all platforms.
GlassAppBar
A glass morphism app bar following Apple's navigation bar design.
GlassBottomBar
GlassBottomBarExtraButton
Configuration for the extra button in GlassBottomBar.
GlassBottomBarTab
Configuration for a tab in GlassBottomBar.
GlassButton
Glass morphism button with scale animation and glow effects.
GlassButtonGroup
A container that groups multiple buttons visually.
GlassCard
A glass card widget following Apple's card design patterns.
GlassChip
A glass morphism chip following Apple's iOS 26 design patterns.
GlassContainer
A foundational glass container widget following Apple's liquid glass design.
GlassDefaults
Default values for glass visual properties.
GlassDialog
A glass morphism alert dialog following Apple's iOS design patterns.
GlassDialogAction
Configuration for a dialog action button.
GlassFormField
A standard form field wrapper for glass inputs following iOS design patterns.
GlassGlow
Represents a layer that can paint a glowing effect below its child.
GlassGlowLayer
Represents a layer that can paint a glowing effect below its child.
GlassIconButton
A glass morphism icon button following Apple's iOS 26 design patterns.
GlassMenu
A liquid glass context menu that morphs from its trigger button.
GlassMenuItem
A menu item for use within a GlassMenu.
GlassPanel
A glass panel widget for larger surface areas following Apple's design.
GlassPasswordField
A secure glass text field for password entry.
GlassPicker
A glass picker widget following iOS design patterns.
GlassPullDownButton
A toolbar button that opens a liquid glass pull-down menu.
GlassSearchBar
A glass morphism search bar following Apple's iOS 26 design patterns.
GlassSegmentedControl
A glass morphism segmented control following Apple's design patterns.
GlassSheet
A glass morphism bottom sheet following Apple's iOS 26 design patterns.
GlassSideBar
A vertical navigation sidebar following Apple's iOS 26 liquid glass design guidelines.
GlassSideBarItem
A list item designed for GlassSideBar.
GlassSlider
A glass morphism slider following Apple's iOS 26 design patterns.
GlassSwitch
A glass toggle switch with Apple's signature jump animation.
GlassTab
Configuration for a tab in GlassTabBar.
GlassTabBar
A glass morphism tab bar following Apple's iOS design patterns.
GlassTextArea
A multi-line glass text area.
GlassTextField
A glass text field widget following Apple's input field design.
GlassToolbar
A glass morphism toolbar following Apple's iOS 26 design patterns.
JellyClipper
Clipper that matches the shape and physics of the jelly indicator.
LgrLogs
Logging utilities for the Liquid Glass Renderer package.
LightweightLiquidGlass
A lightweight, high-performance glass effect widget optimized for scrollable lists and universal platform compatibility.
LiquidGlass
A liquid glass shape.
LiquidGlassBackground
Marks a descendant of LiquidGlassScope as the refraction source. Only the content inside this widget will be captured for glass refraction.
LiquidGlassBlendGroup
A widget that groups multiple liquid glass shapes for blending.
LiquidGlassLayer
Represents a layer of multiple LiquidGlass shapes or LiquidGlassBlendGroups that have shared LiquidGlassSettings and will be rendered together.
LiquidGlassScope
A scope that provides infrastructure for automatic glass refraction.
LiquidGlassSettings
Represents the settings for a liquid glass effect.
LiquidGlassWidgets
Entry point and configuration for the Liquid Glass Widgets library.
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

GlassButtonStyle
Visual style of a glass button.
GlassIconButtonShape
Shape options for GlassIconButton.
GlassQuality
Rendering quality for glass effects.
MaskingQuality
A glass morphism bottom navigation bar following Apple's design patterns.

Extensions

GlassQualityExtension on GlassQuality
Extension to convert GlassQuality to the underlying rendering method.
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