Skip to main content

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

CrossmintOtpCodeInputStep

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

final IconData icon

contactInfo

final String contactInfo

contactType

final String contactType

title

final String title

codeLength

final int codeLength

keyboardType

final TextInputType keyboardType

autofillHints

final Iterable<String>? autofillHints

helpText

final String? helpText

onSubmit

final Future<void> Function(String code) onSubmit

onResend

final Future<void> Function()? onResend

onCancel

final VoidCallback onCancel

Methods

createState

State<CrossmintOtpCodeInputStep> createState()