TwoFactorAuth constructor
const
TwoFactorAuth({
- required VoidCallback onSendPressed,
- required TextEditingController controller,
- Widget? logo,
- String description = 'Enter the code from the 2FA app',
- String inputHintText = 'Code from 2FA app',
- String buttonText = 'Send',
- 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,
});