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.

Constructors

Link copied to clipboard
constructor(isFinalAction: Boolean, onBackClicked: () -> Unit, onCloseClicked: () -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
val onBackClicked: () -> Unit
Link copied to clipboard
val onCloseClicked: () -> Unit

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String