requestPaymentPassword method

  1. @override
void requestPaymentPassword({
  1. Key? key,
  2. BuildContext? context,
  3. BioPayload? payload,
  4. BioThemeData? themeData,
  5. bool? showCloseButton,
  6. Widget? closeButton,
  7. Widget? bioCardMoreIcon,
  8. BootpayDefaultCallback? onCancel,
  9. BootpayDefaultCallback? onError,
  10. BootpayCloseCallback? onClose,
  11. BootpayDefaultCallback? onIssued,
  12. BootpayConfirmCallback? onConfirm,
  13. BootpayAsyncConfirmCallback? onConfirmAsync,
  14. BootpayDefaultCallback? onDone,
})
override

Implementation

@override
void requestPaymentPassword(
    {Key? key,
    BuildContext? context,
    BioPayload? payload,
    BioThemeData? themeData,
    bool? showCloseButton,
    Widget? closeButton,
    Widget? bioCardMoreIcon,
    BootpayDefaultCallback? onCancel,
    BootpayDefaultCallback? onError,
    BootpayCloseCallback? onClose,
    // BootpayCloseCallback? onCloseHardware,
    BootpayDefaultCallback? onIssued,
    BootpayConfirmCallback? onConfirm,
    BootpayAsyncConfirmCallback? onConfirmAsync,
    BootpayDefaultCallback? onDone}) {
  // TODO: implement requestPaymentPassword

  if (context == null) return;

  showModalBioContainer(
      key: key,
      payload: payload,
      themeData: themeData,
      showCloseButton: showCloseButton,
      closeButton: closeButton,
      bioCardMoreIcon: bioCardMoreIcon,
      onCancel: onCancel,
      onError: onError,
      onClose: onClose,
      onIssued: onIssued,
      onConfirm: onConfirm,
      onConfirmAsync: onConfirmAsync,
      onDone: onDone,
      context: context,
      easyType: BioConstants.EASY_TYPE_PASSWORD
  );
}