What it does
A Cursor rules file for Flutter apps that suggests clean architecture with the BLoC pattern, Material 3 design, dependency injection, error handling with an Either type, null safety and localization. It gives a reference folder layout but asks the AI to adapt to the structure your project already has.
Use cases
- 01Organize features into data, domain and presentation
- 02Write BLoC state management for a new screen
- 03Handle errors with an Either type