EnterCode constructor

const EnterCode({
  1. int codeLength = 4,
  2. TextEditingController? controller,
  3. dynamic onCodeChanged(
    1. String?
    )?,
  4. dynamic onCodeSubmitted(
    1. String
    )?,
  5. VoidCallback? onSubmit,
  6. String pageTitle = 'Enter code from e-mail',
  7. String buttonText = 'Submit',
  8. Key? key,
})

Implementation

const EnterCode({
  this.codeLength = 4,
  this.controller,
  this.onCodeChanged,
  this.onCodeSubmitted,
  this.onSubmit,
  this.logo,
  this.pageTitle = 'Enter code from e-mail',
  this.buttonText = 'Submit',
  super.key,
});