Skip to content

app_utilities Free

Shared utilities package with DI setup, logging, and common helpers for Flutter applications.

Version: 1.0.0

Variables

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this is being generated as part of a monorepo

Usage

Interactive

bash
archipelago generate app_utilities

Non-interactive (CI)

bash
archipelago generate app_utilities --config my_config.json

Config 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

Built by Banua Coder