Skip to content

home_sdk Free

Home feature SDK with dashboard, profile, and settings pages using dual-GetIt DI pattern.

Version: 1.0.0

Variables

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this will be part of a monorepo structure

Usage

Interactive

bash
archipelago generate home_sdk

Non-interactive (CI)

bash
archipelago generate home_sdk --config my_config.json

Config 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

Built by Banua Coder