Navigator Instance
Last updated
Last updated
provides the navigator it's using to all its children using Composition Locals.
We can use the below to get the current navigator inside a Composable.
For instances where we are nesting a navigator inside another navigator's NavContainer
and we want the direct parent we can use: