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
Step 2 of the OTP signer dialog: enter verification code.
class CrossmintOtpCodeInputStep extends StatefulWidget
Matches the official Crossmint RN SDK BaseCodeInput component.
Constructors
const CrossmintOtpCodeInputStep({
super.key,
required this.icon,
required this.contactInfo,
required this.contactType,
required this.title,
required this.onSubmit,
required this.onCancel,
this.onResend,
this.codeLength = 9,
this.keyboardType = TextInputType.text,
this.autofillHints,
this.helpText,
})
Properties
icon
title
codeLength
keyboardType
final TextInputType keyboardType
autofillHints
final Iterable<String>? autofillHints
helpText
onSubmit
final Future<void> Function(String code) onSubmit
onResend
final Future<void> Function()? onResend
onCancel
final VoidCallback onCancel
Methods
createState
State<CrossmintOtpCodeInputStep> createState()