PhoneVerificationDialog constructor
const
PhoneVerificationDialog({
- Key? key,
- required AuthyoResult authyoRes,
- required String to,
- void onVerificationComplete(
- AuthyoResult authyoResult
- AuthyoStyle? style,
- AuthyoWidgetConfig config = AuthyoWidgetConfig.empty,
- int? otpLength,
- Duration verifiedDisplayDuration = const Duration(milliseconds: 1600),
- @visibleForTesting AuthyoService? service,
Implementation
const PhoneVerificationDialog({
super.key,
required this.authyoRes,
required this.to,
this.onVerificationComplete,
this.style,
this.config = AuthyoWidgetConfig.empty,
this.otpLength,
this.verifiedDisplayDuration = const Duration(milliseconds: 1600),
@visibleForTesting this.service,
});