RovenueFunnelView constructor

const RovenueFunnelView({
  1. Key? key,
  2. required String placementIdentifier,
  3. String? locale,
  4. void onLoaded(
    1. RovenueFunnelLoaded loaded
    )?,
  5. void onUnavailable(
    1. RovenueFunnelUnavailable unavailable
    )?,
  6. void onError(
    1. RovenueException error
    )?,
  7. void onScreenChanged(
    1. RovenueFunnelScreen screen
    )?,
  8. VoidCallback? onCompleted,
  9. VoidCallback? onDismissed,
  10. void onUrl(
    1. String url
    )?,
  11. void onCustomAction(
    1. RovenueFunnelAction action
    )?,
  12. void onPurchase(
    1. String url
    )?,
  13. void onWinBackPurchase(
    1. String packageIdentifier,
    2. String winBackOfferId
    )?,
  14. VoidCallback? onRestore,
  15. Map<String, String> values = const <String, String>{},
  16. void onPhotoSelected(
    1. String questionKey,
    2. FunnelPhotoRef photo
    )?,
  17. FunnelCheckHandler? onCheck,
})

Creates a funnel view for placementIdentifier.

Implementation

const RovenueFunnelView({
  super.key,
  required this.placementIdentifier,
  this.locale,
  this.onLoaded,
  this.onUnavailable,
  this.onError,
  this.onScreenChanged,
  this.onCompleted,
  this.onDismissed,
  this.onUrl,
  this.onCustomAction,
  this.onPurchase,
  this.onWinBackPurchase,
  this.onRestore,
  this.values = const <String, String>{},
  this.onPhotoSelected,
  this.onCheck,
});