flutter_modules_generator 1.0.0 flutter_modules_generator: ^1.0.0 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 #
dart run generate_module_structure.dart
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 |—— 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