Trial Timeline Paywall
fun TrialTimelinePaywall(plans: List<PaywallPlan>, legal: PaywallLegal, onPurchase: (PaywallPlan) -> Unit, onRestore: () -> Unit, onClose: () -> Unit, modifier: Modifier = Modifier, title: String = stringResource(R.string.pw_trial_title), subtitle: String? = stringResource(R.string.pw_trial_subtitle), steps: List<TrialStep> = defaultTrialSteps(plans.firstOrNull { it.trialText != null } ?: plans.first()), initialPlanId: String? = null)(source)
Design 3, trial timeline: explains exactly when the user is reminded and charged, which builds trust for free trials. The timeline describes the first plan that has a trial and fades when a plan without a trial is selected.
Parameters
steps
timeline steps. Defaults to defaultTrialSteps for the trial plan.
See also
for the shared parameters.