SimplePaywall class

This Widget is without a scaffold. Wrap it with PayWallScaffold if you want to include an appBar to your screen

The Paywall Library is made by LinkFive - Flutter Subscription Management https://www.linkfive.io/

ignore: must_be_immutable

Inheritance

Constructors

SimplePaywall({Key? key, String? title, String? subTitle, String? continueText, TextAndUrl? tosData, TextAndUrl? ppData, Widget? headerContainer, List<IconAndText>? bulletPoints, Widget? campaignWidget, String? restoreText, String? successTitle, String? successSubTitle, Widget? successWidget, bool isSubscriptionLoading = false, bool isPurchaseInProgress = false, PurchaseState purchaseState = PurchaseState.NOT_PURCHASED, List<SubscriptionData>? subscriptionListData, CallbackInterface? callbackInterface, PurchaseStateStreamInterface? purchaseStateStreamInterface, List<ActivePlan>? activePlanList})
Define the Design through the Theme you apply in your root theme: ThemeData(...) Icons are colored with iconTheme: IconThemeData(color: Colors.teal)

Properties

activePlanList List<ActivePlan>?
finalinherited
bulletPoints List<IconAndText>?
finalinherited
callbackInterface CallbackInterface
getter/setter pairinherited
campaignWidget Widget?
finalinherited
continueText String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headerContainer Widget?
finalinherited
isPurchaseInProgress bool
getter/setter pairinherited
isSubscriptionLoading bool
getter/setter pairinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
ppData TextAndUrl?
finalinherited
purchaseState PurchaseState
getter/setter pairinherited
purchaseStateStreamInterface PurchaseStateStreamInterface
getter/setter pairinherited
restoreText String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionListData List<SubscriptionData>?
finalinherited
subTitle String?
finalinherited
successSubTitle String?
finalinherited
successTitle String?
finalinherited
successWidget Widget?
finalinherited
title String?
finalinherited
tosData TextAndUrl?
finalinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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