useLoginNavHost

@RequiresApi(value = 31)
@RequiresPermission(allOf = ["android.permission.BLUETOOTH_CONNECT", "android.permission.BLUETOOTH_SCAN"])
fun NavHostController.useLoginNavHost(modifier: Modifier = Modifier, onLoginSuccess: () -> Unit, navViewSystemWithDrawer: @Composable () -> Unit)

Parameters

modifier

Modifier applied to NavHost

onLoginSuccess

callback invoked on successful sign in

navViewSystemWithDrawer

lambda that creates NavViewSystemWithDrawer for later app usage