app_utilities Free
Shared utilities package with DI setup, logging, and common helpers for Flutter applications.
Version: 1.0.0
Variables
| Variable | Type | Default | Description |
|---|---|---|---|
| appName | string | MyApp | The name of your application |
| isForMonorepo | boolean | true | Whether this is being generated as part of a monorepo |
Usage
Interactive
bash
archipelago generate app_utilitiesNon-interactive (CI)
bash
archipelago generate app_utilities --config my_config.jsonConfig Template
json
{
"@appName": "The name of your application",
"appName": "MyApp",
"@isForMonorepo": "Whether this is being generated as part of a monorepo",
"isForMonorepo": true
}Generated Structure
utilities/
└── app_utilities/
├── build.yaml
├── lib/
│ ├── app_utilities.dart # Barrel export
│ └── src/
│ ├── di/
│ │ ├── injector.dart # GetIt injector setup
│ │ └── third_party_module.dart # Third-party DI module
│ └── log/
│ ├── filter/
│ │ └── release_log_filter.dart
│ ├── log.dart # Logger setup
│ └── printer/
│ └── simple_log_printer.dart
├── analysis_options.yaml
└── pubspec.yaml