isOrWillBeShown property

bool get isOrWillBeShown

Whether the AbstractTransitionComponent is shown or in the process of showing.

Implementation

bool get isOrWillBeShown =>
    state.transitionPhase == TransitionPhase.PRE_SHOWING ||
    state.transitionPhase == TransitionPhase.SHOWING ||
    state.transitionPhase == TransitionPhase.SHOWN;