TwoFactorAuth constructor

const TwoFactorAuth({
  1. required VoidCallback onSendPressed,
  2. required TextEditingController controller,
  3. String description = 'Enter the code from the 2FA app',
  4. String inputHintText = 'Code from 2FA app',
  5. String buttonText = 'Send',
  6. Key? key,
})

Implementation

const TwoFactorAuth({
  required this.onSendPressed,
  required this.controller,
  this.logo,
  this.description = 'Enter the code from the 2FA app',
  this.inputHintText = 'Code from 2FA app',
  this.buttonText = 'Send',
  super.key,
});