AuthBody constructor
const
AuthBody({
- Key? key,
- required MultiFactorAuthState state,
- required MultiFactorLoginNotifier notifier,
- required TextEditingController usernameController,
- required TextEditingController passwordController,
- required TextEditingController codeController,
- required MultiFactorLoginStyle style,
- required ValueChanged<
PasswordLoginSubmission> ? onPasswordLogin, - required ValueChanged<
CodeLoginSubmission> ? onCodeLogin, - required ValueChanged<
ScanProvider> ? onScanLogin, - required VoidCallback? onRequestCode,
- required AsyncCallback? onRefreshScan,
Implementation
const AuthBody({
super.key,
required this.state,
required this.notifier,
required this.usernameController,
required this.passwordController,
required this.codeController,
required this.style,
required this.onPasswordLogin,
required this.onCodeLogin,
required this.onScanLogin,
required this.onRequestCode,
required this.onRefreshScan,
});