MainScreen

fun MainScreen(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, navController: ERROR CLASS: Symbol not found for NavController??, snackStateFlow: ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>, showProgressBar: Boolean = false, basicUserInfo: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for BasicUserInfo?>, accountHolderStatus: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for AccountHolderStatus?>, accountBalance: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for AccountBalance?>)

Renders the Home screen displaying basic user info, account holder status, and account balance, or a progress indicator while data is loading.

Parameters

modifier

Modifier applied to the main box container.

navController

NavController used to navigate between destinations via the drawer.

snackStateFlow

Flow emitting SnackBarComponentConfiguration messages to display.

showProgressBar

Whether to display a loading indicator instead of the data panels; defaults to false.

basicUserInfo

LiveData holding the BasicUserInfo to render.

accountHolderStatus

LiveData holding the AccountHolderStatus to render.

accountBalance

LiveData holding the AccountBalance to render.