PaywallSheet class

Contextual paywall — show it at the exact moment a user hits a gated feature (more obras, más almacenamiento, función Pro…) so the upgrade offer lands where the need is, not in a generic menu.

Usage from any gate:

if (!hasAccess) { PaywallSheet.show(context, feature: 'Publicar más obras'); return; }

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

show(BuildContext context, {required String feature, String benefit = '', List<String> perks = const []}) → Future<void>