home_sdk Free
Home feature SDK with dashboard, profile, and settings pages using dual-GetIt DI pattern.
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 home_sdkNon-interactive (CI)
bash
archipelago generate home_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/
└── home/
├── home_api/
│ ├── README.md
│ ├── lib/
│ │ ├── home_api.dart
│ │ └── src/
│ │ └── home_sdk.dart # Home FeatureSDK contract
│ └── pubspec.yaml
└── home_impl/
├── README.md
├── lib/
│ ├── home_impl.dart
│ └── src/
│ ├── home_sdk_impl.dart
│ ├── di/
│ │ ├── home_global_module.dart
│ │ ├── home_local_module.dart
│ │ ├── injector.config.dart
│ │ └── injector.dart
│ ├── presentation/
│ │ ├── home_shell_page.dart
│ │ ├── home/
│ │ │ └── home_page.dart
│ │ ├── profile/
│ │ │ └── profile_page.dart
│ │ └── settings/
│ │ └── settings_page.dart
│ └── router/
│ ├── home_router.dart
│ └── home_router.gr.dart
└── pubspec.yaml