SMSCodeInput constructor

const SMSCodeInput({
  1. Key? key,
  2. bool autofocus = true,
  3. Widget? text,
  4. SMSCodeSubmitCallback? onSubmit,
})

A widget that allows the user to enter the SMS code sent to the user's phone.

This input is autofilled if SMS autoresolution is supported.

Implementation

const SMSCodeInput({
  super.key,
  this.autofocus = true,
  this.text,
  this.onSubmit,
});