MultiFactorLogin constructor
const
MultiFactorLogin({
- Key? key,
- ValueChanged<
PasswordLoginSubmission> ? onPassword, - ValueChanged<
CodeLoginSubmission> ? onCodeVerify, - ValueChanged<
ScanProvider> ? onScan, - VoidCallback? onRequestCode,
- AsyncCallback? onRefreshScan,
- String? appset,
- AuthMode authMode = AuthMode.account,
- AccountProvider accountProvider = AccountProvider.password,
- 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(),
});