flutter_pro_architect 2.2.7
flutter_pro_architect: ^2.2.7 copied to clipboard
Production-ready Dart CLI that scaffolds Clean Architecture and BLoC feature modules for scalable Flutter apps.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.2.3 - 2026-05-18 #
Added #
- Added --android, --ios, and --both flags to control which platforms to initialize in
setupcommand
2.2.0 - 2026-05-17 #
Added #
- Auto package installation in
setupcommand — all essential packages are now added automatically viaflutter pub addwhen runningflutter_pro_architect:setup - Category-based comment grouping (
#icon,#navigation,#toast,#env,#network,#ui,#app_config,#media,#core) injected intopubspec.yamlfor organized dependency management - Smart skip logic — existing packages are detected and skipped to avoid conflicts
- Enhanced setup summary with separate sections for directories/files and packages
Packages Added Automatically #
- #icon:
hugeicons - #navigation:
go_router,path_provider - #toast:
cherry_toast,fluttertoast - #env:
flutter_dotenv - #network:
dio,talker_dio_logger,retrofit,dio_cache_interceptor,synchronized - #ui:
flutter_screenutil - #app_config:
rename_app,change_app_package_name,flutter_launcher_icons - #media:
cached_network_image,photo_view,image_picker,file_picker,carousel_slider,url_launcher - #core:
dartz,flutter_bloc,equatable,get_it
2.0.0 - 2026-05-17 #
Added #
- Added a full
Templatescatalog class as a public API to enable custom programmatical exports of boilerplate codes. - Introduced
setupexecutable bootstrap script (flutter pub run flutter_pro_architect:setup) to easily bootstrap brand new projects. - Added platform-specific scaffolding flags (
--android,--ios,--both) to target bootstrap operations. - Added utility string transformation helper functions (
toSnakeCase,toPascalCase) as public APIs. - Created interactive workbench example app (
example/) demonstrating all public interfaces of the CLI and generators.
Changed #
- Migrated code generator to standard
src/modular layout and configured public exports using barrellib/flutter_pro_architect.dart. - Upgraded command line parsing using the
argslibrary to support global--no-colorlogs safely. - Enhanced generated presentation BLoC files to support
flutter_bloc8.x + and Dart 3.0 records/patterns.
Fixed #
- Fixed directory structure validation checks to fail gracefully when run outside of the Flutter project root.
- Corrected double-underscore casing bugs in feature name parsing for inputs containing consecutive spaces or hyphens.
- Resolved recursive directory creation errors on Unix systems when path permissions were restrictive.
Security #
- Added input sanitization guards on
create_bloc_<feature>commands to protect against potential path traversal attacks during file generation.
1.0.0 - 2024-11-12 #
Added #
- Initial stable release of
flutter_pro_architect. - Production-ready dynamic CLI tool featuring
create_bloc_<feature_name>code scaffolding. - Scaffolding templates for Data, Domain, and Presentation layers mapped to clean architecture guidelines.
- Out of the box mapping and setup support for
get_it,dartz,equatable, andflutter_bloc. - Collision detection checks to prevent overwriting existing feature code.
- Styled console log messages with ANSI terminal coloring support.
