paywall_sdk Free
Paywall feature SDK with pricing UI, mock purchase flow, and subscription management.
Version: 1.0.0
Variables
| Variable | Type | Default | Description |
|---|---|---|---|
| appName | string | MyApp | The name of your application |
| isForMonorepo | boolean | true | Whether this will be part of a monorepo structure |
Usage
Interactive
bash
archipelago generate paywall_sdkNon-interactive (CI)
bash
archipelago generate paywall_sdk --config my_config.jsonConfig Template
json
{
"@appName": "The name of your application",
"appName": "MyApp",
"@isForMonorepo": "Whether this will be part of a monorepo structure",
"isForMonorepo": true
}Generated Structure
features/
└── paywall/
├── paywall_api/
│ ├── README.md
│ ├── lib/
│ │ ├── paywall_api.dart
│ │ └── src/
│ │ ├── paywall_event.dart
│ │ ├── paywall_product.dart
│ │ ├── paywall_sdk.dart # Paywall FeatureSDK contract
│ │ ├── purchase_result.dart
│ │ ├── subscription_status.dart
│ │ ├── subscription_tier.dart
│ │ └── typedefs.dart
│ └── pubspec.yaml
└── paywall_impl/
├── README.md
├── lib/
│ ├── paywall_impl.dart
│ └── src/
│ ├── paywall_sdk_impl.dart
│ ├── data/
│ │ ├── datasources/
│ │ │ └── paywall_datasource.dart
│ │ └── repositories/
│ │ ├── paywall_repository.dart
│ │ └── paywall_repository_impl.dart
│ ├── di/
│ │ ├── injector.config.dart
│ │ ├── injector.dart
│ │ ├── paywall_global_module.dart
│ │ └── paywall_local_module.dart
│ ├── domain/
│ │ └── usecases/
│ │ ├── get_products_usecase.dart
│ │ └── purchase_usecase.dart
│ ├── presentation/
│ │ ├── paywall_page.dart
│ │ └── paywall_shell_page.dart
│ └── router/
│ ├── paywall_router.dart
│ └── paywall_router.gr.dart
└── pubspec.yaml