PhoneVerificationDialog constructor

const PhoneVerificationDialog({
  1. Key? key,
  2. required AuthyoResult authyoRes,
  3. required String to,
  4. void onVerificationComplete(
    1. AuthyoResult authyoResult
    )?,
  5. AuthyoStyle? style,
  6. AuthyoWidgetConfig config = AuthyoWidgetConfig.empty,
  7. int? otpLength,
  8. Duration verifiedDisplayDuration = const Duration(milliseconds: 1600),
  9. @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,
});