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.
GlassMorphAnchor
The widget a GlassModalSheet morphs out of, and the channel that empties it while the morph is in flight.
GlassMorphTrigger
Wraps the widget a GlassModalSheet morphs out of, so the trigger can empty itself while the morph runs and take the hit when the droplet comes home.
GlassSheetMorphPresenter
Drives the liquid morph that presents child (a GlassModalSheetScaffold).
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.
SheetMorphGeometry
Pure geometry for presenting a GlassModalSheet with a liquid morph.
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.
GlassSheetPlacement
Where a sheet sits across a screen with room on either side of it.
GlassSheetState
The discrete snap positions a GlassModalSheet can occupy.