flutter_liquid_glass_kit library
Platform-adaptive Liquid Glass components for Flutter.
The package renders native SwiftUI glass on iOS and an optimized Flutter matte-glass fallback on Android, web, and desktop. Start with LiquidGlassCard, LiquidGlassButton, LiquidGlassTextField, or LiquidGlassNavBar. Use LiquidGlassFloatingNavBar when navigation should float above content. Use LiquidGlassSettingsScope for an app-wide baseline and LiquidGlassBackdropGroup around each page of non-overlapping glass surfaces. This shares one native host on iOS and can coordinate backdrop work on Android. Set LiquidGlassSettings.androidColor for a low-cost solid Android surface with no glass effects.
Classes
- LiquidGlassBackdropGroup
- Coordinates fallback surfaces inside one screen or section.
- LiquidGlassButton
- A pressable glass-effect button.
- LiquidGlassCard
- A glass-effect container card.
- Positions a LiquidGlassNavBar above content in a Stack.
- A platform-adaptive glass bottom navigation bar.
- Inputs available to a custom Android navigation indicator animation.
- Configures navigation-bar resizing in response to vertical scrolling.
- A single item descriptor for LiquidGlassNavBar.
- LiquidGlassScrollBehavior
- Scroll behavior for Android glass-heavy screens.
- LiquidGlassSettings
- Shared visual configuration for all Liquid Glass widgets.
- LiquidGlassSettingsScope
- Provides baseline settings to descendant Liquid Glass components.
- LiquidGlassTextField
- A Flutter text field presented on a platform-adaptive glass surface.
- PlatformGlass
- Core widget that routes to the native iOS PlatformView or Android's cross-platform matte-glass renderer.
Enums
- LiquidGlassIOSStyle
- Native SwiftUI Liquid Glass style used by custom iOS surfaces.
- Built-in motion styles for the Android navigation indicator.
Properties
- isNativeLiquidGlassSupported → bool
-
Whether glass widgets use the native iOS renderer on this platform.
no setter
Typedefs
- Deprecated Android name for LiquidGlassNavBarScrollConfiguration.
- Deprecated iOS name for LiquidGlassNavBarScrollConfiguration.
- Resolves the Android navigation indicator geometry for one animation frame.