Advanced Topics

Patterns that build on the core concepts.

  • ResultsNavigationKey.WithResult<R>, complete(value), and registerForNavigationResult. With two sub-pages on chaining multi-step flows: embedded flows for short callback chains, managed flows for longer or branching sequences.
  • View Modelsby navigationHandle<MyKey>() inside a ViewModel, createEnroViewModel { } from a Composable, and shared state across destinations.
  • AnimationsNavigationAnimations, per-element animation primitives, predictive back, and shared elements.
  • TestingrunEnroTest, EnroTestRule, TestNavigationHandle, and the assertion surface.
  • Plugins — observe every destination’s lifecycle (open, active, close) for cross-cutting concerns like analytics, telemetry, and instance-metadata tagging.

Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.