Welcome! 🚀 We're thrilled you want to help us evolve FlutterInit. Our goal is to eliminate "initial drag" and provide an elite scaffolding experience for Flutter developers worldwide.
FlutterInit is built on the principle of Contribution-Based Evolution. We don't just want a static tool; we want an engine that grows alongside the Flutter ecosystem. We value architect-level contributions that prioritize clean code, performance, and best practices.
- New Architectural Patterns: Add support for MVC, Bloc-Clean, or your specialized team structure by adding a new
architectureflag and its corresponding overlay. - Web Dashboard Improvements: Enhance the Next.js wizard UI to make project configuration even more intuitive.
- Internal Logic Refinement: Optimize the
generator/to handle more complex layered merges or conditional file generation. - Documentation: Clarify the onboarding experience or add deep-dive guides for advanced project structures.
We use Bun for ultra-fast package management and script execution.
-
Clone the Repo:
git clone https://github.com/Arjun544/flutter_init.git cd flutter_init -
Install Dependencies:
bun install
-
Run Dev Server:
bun run dev
The dashboard will be active at
http://localhost:3000.
Please follow these naming standards for your branches:
feat/feature-name(New features/templates)fix/bug-fix-description(Bug fixes)docs/doc-updates(Improvements to markdown)perf/optimization(Performance enhancements)
We provide a specialized dev loop for template creation that provides "Hot Reload" for your scaffolds.
- Open your terminal and run:
bun run --watch scripts/template-dev.ts
- The script will watch your changes in
templates/andapp/lib/, auto-regenerating a project into thedev_out/folder. - It will automatically run
dart analyzeon the generated code and report any errors directly to your terminal.
See the detailed Template Development Guide and Handlebars Guide for more info.
Before submitting your PR, ensure you can check off the following:
- Valid Dart: Run the
template-dev.tsscript and verify thatdart analyzeshows zero errors indev_out/. - Flag Paths: Check both
trueandfalsepaths for any new Handlebars conditionals. - Barrel Exports: New services/widgets are correctly exported in
services.dart.hbsorwidgets.dart.hbs. - Linting: Ensure any core change to the generator passes
bun run lint. - Documentation: Updated
docs/configuration.mdif you added a new flag toschema.ts.
Every merged PR earns you a spot in our Hall of Fame listed in the README.md. We appreciate your time and expertise in making Flutter development faster for everyone!
Need help? Open an issue or join our community discussions!