navigation

package
v0.1.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NavHost(
	navController *NavController,
	startDestination string,
	builder func(*NavGraphBuilder),
) api.Composable

Types

type BackStackEntry

type BackStackEntry struct {
	Route string
	ID    string
}
type NavController struct {
	// contains filtered or unexported fields
}

func NewNavController

func NewNavController(backStack state.MutableValue) *NavController

func RememberNavController

func RememberNavController(c api.Composer) *NavController
func (nc *NavController) CurrentEntry() *BackStackEntry
func (nc *NavController) Navigate(route string)
func (nc *NavController) PopBackStack() bool
type NavGraphBuilder struct {
	// contains filtered or unexported fields
}

func NewNavGraphBuilder

func NewNavGraphBuilder() *NavGraphBuilder
func (b *NavGraphBuilder) Composable(route string, content api.Composable)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL