generator library
The flutter_adaptive_studio generator (CLI) API.
This is the programmatic surface behind the flutter_adaptive_studio command
that writes native icon/splash files. It uses dart:io. This is a pure-Dart
CLI: your app never depends on it. The in-app splash widget (AdaptiveSplash)
is generated into a self-contained fas_splash.g.dart that imports only
package:flutter.
The entry point is AdaptiveStudio (run generation); the other classes back the individual CLI commands (Initializer, ConfigSync, Doctor, Reverter). Config parsing, SVG handling and the per-platform writers are internal implementation details and not part of the public API.
Classes
- AdaptiveStudio
- Top-level entry point: loads config and runs the configured generators.
- ConfigSync
- Non-destructively fills a config with missing options as commented placeholders.
- Doctor
- Validates config and environment, reporting issues without writing anything.
- GenerationReport
- Accumulates the outcome of a generation run.
- Initializer
-
Writes a commented starter
flutter_adaptive_studio.yamlinto a project. - Logger
- A tiny logger shared across the generator pipeline.
- Reverter
- Removes the files flutter_adaptive_studio fully owns, leaving shared edits to VCS.