DifferentMethodSignInView constructor

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

A view that renders a list of providers that were previously used by the user to authenticate.

Implementation

const DifferentMethodSignInView({
  super.key,
  required this.availableProviders,
  required this.providers,
  this.auth,
  this.onSignedIn,
  this.showPasswordVisibilityToggle = false,
});