PaywallElement constructor
PaywallElement({
- String? id,
- String? type,
- List<
int> ? padding, - String? spacing,
- PaywallTopButton? topButton,
- String? background,
- String? offset,
- String? maskType,
- PaywallImageFile? imageFile,
- PaywallImageFile? iconFile,
- String? iconWidth,
- String? iconHeight,
- String? tintColor,
- int? maskHeight,
- int? imageHeight,
- List<
int> ? cornerRadius, - String? color,
- String? fontId,
- String? hAlign,
- List<
int> ? margin, - String? maxRows,
- String? stringId,
- String? onOverflow,
- PaywallText? text,
- String? title,
- PaywallAction? action,
- String? border,
- String? previewType,
- String? primaryFont,
- String? primaryColor,
- PaywallContentLayout? contentLayout,
- String? secondaryFont,
- String? secondaryColor,
- String? borderThickness,
- PaywallLinks? links,
- PaywallDivider? divider,
- PaywallTextStyle? textStyle,
- PaywallElementStates? states,
- String? groupBy,
- String? previewState,
- String? previewTextStyle,
- String? selectedPackageId,
- String? badge,
- PaywallBadgeStyle? badgeStyle,
- String? key,
- PaywallConnector? connector,
Implementation
PaywallElement({
this.id,
this.type,
this.padding,
this.spacing,
this.topButton,
this.background,
this.offset,
this.maskType,
this.imageFile,
this.iconFile,
this.iconWidth,
this.iconHeight,
this.tintColor,
this.maskHeight,
this.imageHeight,
this.cornerRadius,
this.color,
this.fontId,
this.hAlign,
this.margin,
this.maxRows,
this.stringId,
this.onOverflow,
this.text,
this.title,
this.action,
this.border,
this.previewType,
this.primaryFont,
this.primaryColor,
this.contentLayout,
this.secondaryFont,
this.secondaryColor,
this.borderThickness,
this.links,
this.divider,
this.textStyle,
this.states,
this.groupBy,
this.previewState,
this.previewTextStyle,
this.selectedPackageId,
this.badge,
this.badgeStyle,
this.key,
this.connector,
});