zeref278/flutter_boilerplate — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a clean Flutter starter app that I can use as the base for future projects. I want it to already have a sensible structure, state management with Bloc, API calls using generated clients, local database examples, local storage, logging, routing, dependency injection, dark mode, multiple languages, and a simple Crashlytics template.

Please include a small example feature so I can see the full flow, from screen to Bloc to repository to API or database, with loading, success, and error states. Add basic unit tests and an integration test example so I know how to test new features later. Set up code generation properly and include clear commands in the README for getting dependencies, generating files, and running tests.

Keep it practical and easy to extend, not overcomplicated. Use clean architecture patterns where they help. Also add Flutter CI so the project checks formatting, analysis, and tests automatically. Look up current Flutter docs online if you need to.

Want more depth? Deep Reverse