Package-level declarations
Types
An Overlay is composable content that can be shown on top of other content via an OverlayHost . Overlays are typically used for one-off request/result flows and should not usually attempt to do any sort of external navigation or make any assumptions about the state of the app. They should only emit a Result to the given OverlayNavigator
when they are done.
An OverlayHost can be used overlaysOverlay with content on top of other content. This is useful for one-off request/result flows such as:
Data managed by an OverlayHost to track the current overlay state. This should rarely be implemented by consumers!
An OverlayNavigator is a simple API offered to overlays to call finish with a result when they are done.
Properties
A ProvidableCompositionLocal to expose the current OverlayHost in the composition tree.
Functions
Renders the given content with the ability to show overlays on top of it. This works by exposing an OverlayHost via LocalOverlayHost.
Returns a remembered an OverlayHost that can be used to show overlays.