TransitionState

sealed class TransitionState<S>

Use with rememberTransition to create a Transition that can be dynamically targeted with MutableTransitionState or seekable with SeekableTransitionState.

Inheritors

Properties

Link copied to clipboard
abstract var currentState: S

Current state of the transition. If there is an active transition, currentState and targetState are different.

Link copied to clipboard
abstract var targetState: S

Target state of the transition. If this is the same as currentState, no transition is active.