NmSubscribeSheet constructor

const NmSubscribeSheet({
  1. Key? key,
  2. required List<NmPlan> plans,
  3. required List<NmPaymentMethodGroup> methodGroups,
  4. required Future<void> onPay(
    1. NmCheckout checkout
    ),
  5. String? initialPlanId,
  6. Future<NmPrice?> onApplyPromo(
    1. NmPlan plan,
    2. String code
    )?,
  7. String summaryLabel(
    1. NmPlan plan
    )?,
  8. String? subtitle,
})

Creates an NmSubscribeSheet.

Implementation

const NmSubscribeSheet({
  super.key,
  required this.plans,
  required this.methodGroups,
  required this.onPay,
  this.initialPlanId,
  this.onApplyPromo,
  this.summaryLabel,
  this.subtitle,
});