BackCloseButtonState
class BackCloseButtonState(val isFinalAction: Boolean, val onBackClicked: () -> Unit, val onCloseClicked: () -> Unit)
State for the back/close button.
Parameters
isFinalAction
true if the action is final. Can be interpreted as the close button otherwise it is the back button.
onBackClicked
the callback for the back button.
onCloseClicked
the callback for the close button.