FastIapRestorePremiumButton constructor

const FastIapRestorePremiumButton({
  1. Key? key,
  2. String? premiumProductId,
  3. String? labelText,
  4. VoidCallback? onTap,
  5. FastButtonEmphasis emphasis = FastButtonEmphasis.low,
  6. bool expand = false,
})

Creates a new instance of FastIapRestorePremiumButton.

emphasis defaults to FastButtonEmphasis.low if not provided.

Implementation

const FastIapRestorePremiumButton({
  super.key,
  this.premiumProductId,
  this.labelText,
  this.onTap,
  this.emphasis = FastButtonEmphasis.low,
  this.expand = false,
});