VerifyCodeForm constructor

const VerifyCodeForm({
  1. Key? key,
  2. required String otpLabel,
  3. required VoidCallback onResend,
  4. required VoidCallback onEdit,
  5. required ValueChanged<String> onVerify,
  6. dynamic config,
  7. String? validator(
    1. String?
    )?,
  8. required TextEditingController initialValue,
  9. bool isLoading = false,
  10. bool isSuccess = false,
  11. String? error,
})

Implementation

const VerifyCodeForm({
  super.key,
  required this.otpLabel,
  required this.onResend,
  required this.onEdit,
  required this.onVerify,
  this.config,
  this.validator,
  required this.initialValue,
  this.isLoading = false,
  this.isSuccess = false,
  this.error,
});