BackstackInform

interface BackstackInform

Notifies is it possible to undo or redo actions. Classes that implement this interface are useful to notify the UI that a button of undo/redo should or not be highlighted.

Inheritors

Properties

Link copied to clipboard
abstract val canRedo: StateFlow<Boolean>

Notifies if it is possible to redo an action.

Link copied to clipboard
abstract val canUndo: StateFlow<Boolean>

Notifies if it is possible to undo an action.