widgets/overlays/glass_modal_sheet library

Classes

FrozenState
Immutable record capturing the sheet's visual state at the moment it was "frozen" for a spring-back animation.
GestureArena
Unified gesture disambiguator for GlassModalSheet.
GlassModalSheet
A high-fidelity, liquid glass modal sheet inspired by iOS 18+ design patterns.
GlassModalSheetController
Programmatic controller for a GlassModalSheet.
GlassModalSheetScaffold
A convenience scaffold that layers a GlassModalSheet over a body widget.
GlassModalSheetStateProvider
Inherited widget that provides SheetStateInfo to its descendants.
ScrollControllerProvider
InheritedWidget that propagates a ScrollController and ScrollPhysics to descendant widgets inside a GlassModalSheet.
SheetGeometry
Pure geometry calculations for sheet snap positions — no BuildContext, no side effects.
SheetSnapshot
Immutable snapshot of the sheet's physical state at a single moment in time.
SheetStateInfo
Information about the current state of a GlassModalSheet.

Enums

GesturePhase
Tracks which gesture mode the GestureArena is currently in.
GlassFillTransition
Controls how the sheet transitions from its glass look to a solid color as it expands toward GlassSheetState.full.
GlassSheetDetent
The resting heights a sheet may stop at, chosen via GlassModalSheet.detents. Mirrors UIKit's sheet detents:
GlassSheetMode
Controls whether the sheet can be swiped to dismiss or must stay docked.
GlassSheetState
The discrete snap positions a GlassModalSheet can occupy.