Skip to content

Packages Overview

The Air Framework is composed of several independent but integrated packages. Each package can be used standalone or as part of the full ecosystem.

PackageCurrent VersionPub.dev
air_framework1.0.4pub.dev/packages/air_framework
air_state1.0.4pub.dev/packages/air_state
air_generator1.0.2pub.dev/packages/air_generator
air_cli1.0.9pub.dev/packages/air_cli
PackageDepends onRequired By
air_frameworkair_state ^1.0.4, go_router ^14.0.0Your app
air_statedart:async (stdlib only)air_framework, your app
air_generatorbuild ^2.4.0, source_gen ^1.5.0dev only
air_cliDart SDK, pubspec_parseglobal tool

The main orchestrator. Manages module lifecycle, dependency injection (AirDI), distributed routing (AirRouter), the EventBus, adapter registry, and the security permission system.

Use it when: You want the full framework — modules, DI, routing, security.

The reactive engine. Lightweight key-based state management with StateFlow, AirView, and AirBuilder. No Flutter dependency — runs in pure Dart environments.

Standalone usage: You can use air_state in any Dart or Flutter project without the full air_framework.

dependencies:
air_state: ^1.0.4 # standalone reactive state — no framework required

The build runner annotation processor. Reads @GenerateState annotations and generates *.air.g.dart files with Flows (data) and Pulses (actions).

Only in dev_dependencies — has zero runtime impact.

The command-line interface for scaffolding, automation, AI skill installation, and project management. Activated globally via dart pub global activate air_cli.


Compatibility: All packages follow semantic versioning (^major.minor.patch). Minor and patch releases are backwards-compatible. Major releases include a migration guide.