A plugin for Flutter developers at Friflex, an IT company, designed for VSCode.
- Creates feature folders for Flutter projects following a predefined structure based on Clean Architecture principles.
- Automatically generates:
- Repository files (main and mock) in
data/repository
. - DTO files in
data/dto
. - Interface files in
domain/repository
. - Screen classes in
presentation/screens
.
- Repository files (main and mock) in
After executing the command, the .friflex_config
folder will be created in your project.This folder will contain the\template. You can change it for your own purposes.
feature_name/
├── data/
│ ├── repository/
│ │ ├── feature_name_repository.dart
│ │ └── feature_name_repository_mock.dart
├── domain/
│ ├── state/
│ ├── entity/
│ └── repository/
│ └── i_feature_name_repository.dart
└── presentation/
├── components/
└── screens/
This plugin simplifies the process of scaffolding feature modules for Flutter developers using VSCode.
Context menu, if the current file editor is .dart
.
Friflex/
├── Create Entity
├── Create StatelessWidget
└── Create StatefulWidget
- Whether to add the prefix "I" to the repository interface, by default TRUE.
- Use the equatable library when creating an Entity, by default TRUE.