Comparison Paywall
fun ComparisonPaywall(plans: List<PaywallPlan>, rows: List<ComparisonRow>, legal: PaywallLegal, onPurchase: (PaywallPlan) -> Unit, onRestore: () -> Unit, onClose: () -> Unit, modifier: Modifier = Modifier, title: String = stringResource(R.string.pw_comparison_title), subtitle: String? = stringResource(R.string.pw_comparison_subtitle), freeLabel: String = stringResource(R.string.pw_comparison_free), proLabel: String = stringResource(R.string.pw_comparison_pro), initialPlanId: String? = null)(source)
Design 2, Free vs Pro table: a comparison grid with a highlighted Pro column, then side-by-side plan tiles. Works best with two or three plans.
Parameters
rows
table rows. Set freeText or proText to show a value instead of an icon.
See also
for the shared parameters.