PlanSelectionDialog constructor

const PlanSelectionDialog({
  1. Key? key,
  2. required Product product,
  3. required String title,
  4. required String subtitle,
  5. String? orgId,
  6. String? planId,
  7. String? subscriptionId,
  8. SubscriptionStatus? planStatus,
  9. DateTime? planEndDate,
  10. bool dismissOnPaymentTimeout = false,
  11. WaitForUpdates? waitForUpdates,
  12. VoidCallback? goBack,
  13. VoidCallback? dismissDialog,
  14. bool dismissOnTap = true,
})

Implementation

const PlanSelectionDialog({
  super.key,
  required this.product,
  required this.title,
  required this.subtitle,
  this.orgId,
  this.planId,
  this.subscriptionId,
  this.planStatus,
  this.planEndDate,
  bool dismissOnPaymentTimeout = false,
  WaitForUpdates? waitForUpdates,
  VoidCallback? goBack,
  VoidCallback? dismissDialog,
  bool dismissOnTap = true,
})  : _dismissOnProcessingDone = dismissOnPaymentTimeout,
      _waitForSubscriptionUpdates = waitForUpdates,
      _goBack = goBack,
      _dismissDialog = dismissDialog,
      _dismissOnTap = dismissOnTap;