EnterCode constructor
const
EnterCode({
- int codeLength = 4,
- TextEditingController? controller,
- dynamic onCodeChanged()?,
- dynamic onCodeSubmitted()?,
- VoidCallback? onSubmit,
- Widget? logo,
- String pageTitle = 'Enter code from e-mail',
- String buttonText = 'Submit',
- 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,
});