flutter_modules_generator 1.0.6 flutter_modules_generator: ^1.0.6 copied to clipboard
A CLI tool to streamline and generate module structures for Flutter projects. This tool creates organized folder hierarchies and template files, including controllers, bindings, business logic, data m [...]
A sample command-line application with an entrypoint in bin/
, library code
in lib/
, and example unit test in test/
.
flutter_modules_generator #
CLI #
Install Package #
dart pub global activate flutter_modules_generator
Run Package #
dart pub global run flutter_modules_generator
Example for API #
- modules_name/
- controller/
- modules_controller.dart
- bindings/
- modules_binding.dart
- business/
- modules_business.dart
- data/
- api/
- modules_api.dart
- models/
- services/
- modules_service.dart
- api/
- views/
- widgets/
- modules_view.dart
Example for webview #
- modules_name/
- controller/
- modules_controller.dart
- bindings/
- modules_binding.dart
- business/
- modules_business.dart
- data/
- models/
- webview_services/
- modules_webview_service.dart
- views/
- widgets/
- modules_view.dart