MainScreen
fun MainScreen(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?>, userInfoWithConsent: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for UserInfoWithConsent?>, 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: a scrollable stack of cards showing the signed-in user's profile, basic info, consent-granted verified profile, account status, and balance — or a progress indicator while data is loading. Themed for light and dark mode via MomoScaffold.
Parameters
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 cards.
basicUserInfo
LiveData holding the BasicUserInfo to render.
userInfoWithConsent
LiveData holding the consent-granted UserInfoWithConsent to render.
accountHolderStatus
LiveData holding the AccountHolderStatus to render.
accountBalance
LiveData holding the AccountBalance to render.