Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Class
Combined auth form matching the official Crossmint RN SDK auth layout.
class CrossmintAuthForm extends StatelessWidget
Renders OAuth sign-in buttons and/or email sign-in, with an “or” divider
between them when both are shown.
Constructors
const CrossmintAuthForm({
super.key,
required this.auth,
this.providers = const <CrossmintOAuthProvider>[
CrossmintOAuthProvider.google,
CrossmintOAuthProvider.twitter,
],
this.showEmailSignIn = true,
this.authModalTitle,
this.onAuthenticated,
this.onError,
})
Properties
auth
final CrossmintAuthClient auth
providers
final List<CrossmintOAuthProvider> providers
showEmailSignIn
final bool showEmailSignIn
authModalTitle
final String? authModalTitle
Custom title shown on the OTP verification step (e.g. “Sign in to Acme”).
onAuthenticated
final VoidCallback? onAuthenticated
onError
final void Function(Object error)? onError
Methods
build
Widget build(BuildContext context)