xsetup_generator library

Adds Firebase, secret-key loading, CI/CD, or platforms to an existing app.

Run from the Flutter project directory (the folder that contains pubspec.yaml), not from the parent folder used by xproject create.

await SetupGenerator().firebase();
await SetupGenerator().secretKey();
await SetupGenerator().ciCd();
await SetupGenerator().platforms();
await SetupGenerator().runInteractive();

Each command inspects the project, patches only the integration you asked for, and rewrites GUIDE.md when something actually changed. Files you already replaced (Firebase config downloads, a real secretkey.dart, an edited firebase_service.dart) are not overwritten.

Classes

SetupGenerator
Interactive and direct entry points for xproject setup.