AuthBody constructor

const AuthBody({
  1. Key? key,
  2. required MultiFactorAuthState state,
  3. required MultiFactorLoginNotifier notifier,
  4. required TextEditingController usernameController,
  5. required TextEditingController passwordController,
  6. required TextEditingController codeController,
  7. required MultiFactorLoginStyle style,
  8. required ValueChanged<PasswordLoginSubmission>? onPasswordLogin,
  9. required ValueChanged<CodeLoginSubmission>? onCodeLogin,
  10. required ValueChanged<ScanProvider>? onScanLogin,
  11. required VoidCallback? onRequestCode,
  12. 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,
});