Source set: Common
public sealed class TransitionState<S>
Use with rememberTransition to create a Transition that can be dynamically targeted with MutableTransitionState or seekable with SeekableTransitionState.
Properties
currentState
Source set: Common
public abstract var currentState: S
Current state of the transition. If there is an active transition, currentState and targetState are different.
targetState
Source set: Common
public abstract var targetState: S
Target state of the transition. If this is the same as currentState, no transition is active.