PhoneVerificationButton constructor

const PhoneVerificationButton({
  1. Key? key,
  2. required String label,
  3. AuthAction? action,
  4. FirebaseAuth? auth,
})

A button that triggers phone verification flow.

Triggers a VerifyPhoneAction action if provided, otherwise uses startPhoneVerification.

Implementation

const PhoneVerificationButton({
  super.key,
  required this.label,
  this.action,
  this.auth,
});