MultiFactorLogin constructor

const MultiFactorLogin({
  1. Key? key,
  2. ValueChanged<PasswordLoginSubmission>? onPassword,
  3. ValueChanged<CodeLoginSubmission>? onCodeVerify,
  4. ValueChanged<ScanProvider>? onScan,
  5. VoidCallback? onRequestCode,
  6. AsyncCallback? onRefreshScan,
  7. String? appset,
  8. AuthMode authMode = AuthMode.account,
  9. AccountProvider accountProvider = AccountProvider.password,
  10. MultiFactorLoginStyle style = const MultiFactorLoginStyle(),
})

Implementation

const MultiFactorLogin({
  super.key,
  this.onPassword,
  this.onCodeVerify,
  this.onScan,
  this.onRequestCode,
  this.onRefreshScan,
  this.appset,
  this.authMode = AuthMode.account,
  this.accountProvider = AccountProvider.password,
  this.style = const MultiFactorLoginStyle(),
});