PhoneAuthFlow constructor

PhoneAuthFlow({
  1. required PhoneAuthProvider provider,
  2. FirebaseAuth? auth,
  3. AuthAction? action,
})

An auth flow that allows authentication with a phone number.

Implementation

PhoneAuthFlow({
  /// {@macro ui.auth.auth_flow.ctor.provider}
  required super.provider,

  /// {@macro ui.auth.auth_controller.auth}
  super.auth,

  /// {@macro ui.auth.auth_action}
  super.action,
}) : super(
        initialState: AwaitingPhoneNumber(),
      );