FirebasePhoneAuthHandler constructor
const
FirebasePhoneAuthHandler({
- Key? key,
- required String phoneNumber,
- required Widget builder(),
- OnLoginSuccess? onLoginSuccess,
- OnLoginFailed? onLoginFailed,
- OnError? onError,
- VoidCallback? onCodeSent,
- bool signOutOnSuccessfulVerification = false,
- bool sendOtpOnInitialize = true,
- bool linkWithExistingUser = false,
- Duration autoRetrievalTimeOutDuration = FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
- Duration otpExpirationDuration = FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
- RecaptchaVerifier? recaptchaVerifierForWebProvider()?,
Implementation
const FirebasePhoneAuthHandler({
Key? key,
required this.phoneNumber,
required this.builder,
this.onLoginSuccess,
this.onLoginFailed,
this.onError,
this.onCodeSent,
this.signOutOnSuccessfulVerification = false,
this.sendOtpOnInitialize = true,
this.linkWithExistingUser = false,
this.autoRetrievalTimeOutDuration =
FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
this.otpExpirationDuration =
FirebasePhoneAuthController.kAutoRetrievalTimeOutDuration,
this.recaptchaVerifierForWebProvider,
}) : super(key: key);