DifferentMethodSignInDialog constructor

const DifferentMethodSignInDialog({
  1. Key? key,
  2. required List<String> availableProviders,
  3. required List<AuthProvider<AuthListener, AuthCredential>> providers,
  4. FirebaseAuth? auth,
  5. VoidCallback? onSignedIn,
})

A dialog that is shown when the user tries to sign in with a provider that wasn't previously used, but there are other providers for a given email.

Implementation

const DifferentMethodSignInDialog({
  super.key,
  required this.availableProviders,
  required this.providers,
  this.auth,
  this.onSignedIn,
});