currentStep property

AuthenticatorStep get currentStep

The current step of the authentication flow (signIn, signUp, confirmSignUp, etc.)

Implementation

AuthenticatorStep get currentStep {
  final state = _authBloc.currentState;
  if (state is LoadingState) {
    return AuthenticatorStep.loading;
  } else if (state is UnauthenticatedState) {
    return state.step;
  } else {
    return AuthenticatorStep.signIn;
  }
}