CollectionScreen
fun CollectionScreen(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, collectionWithdrawScreenViewModel: CollectionWithdrawScreenViewModel?, requestToWithdrawStatus: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for RequestToWithdrawStatus?>)
Renders the Collection Request-to-Withdraw screen, showing a payment capture form when no transaction result is available, or a request-to-withdraw status summary once a RequestToWithdrawStatus 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.
collectionWithdrawScreenViewModel
ViewModel providing form state and callbacks; may be null in previews.
requestToWithdrawStatus
LiveData holding the completed RequestToWithdrawStatus; null triggers the capture form.