RemittanceScreen

fun RemittanceScreen(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, remittanceScreenViewModel: RemittanceScreenViewModel?, momoTransaction: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for MomoTransaction?>)

Renders the Remittance Transfer screen, showing a payment capture form when no transaction result is available, or a transaction summary once a MomoTransaction has been returned.

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 form; defaults to false.

remittanceScreenViewModel

ViewModel providing form state and callbacks; may be null in previews.

momoTransaction

LiveData holding the completed MomoTransaction; null triggers the capture form.