core
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
core
core
/
net.zagart.navigation
/
NavigationController
Navigation
Controller
class
NavigationController
(
startDestinations
:
List
<
Destination
>
,
onScreenChange
:
(
String
)
->
Unit
)
Members
Constructors
Navigation
Controller
Link copied to clipboard
constructor
(
startDestinations
:
List
<
Destination
>
,
onScreenChange
:
(
String
)
->
Unit
)
Properties
current
Destination
Link copied to clipboard
var
currentDestination
:
MutableState
<
Destination
>
previous
Destination
Link copied to clipboard
var
previousDestination
:
MutableState
<
Destination
?
>
Functions
navigate
Link copied to clipboard
fun
<
T
:
Destination
>
navigate
(
destination
:
T
)
:
Boolean
Example: