feature_folder_cli
feature_folder_cli copied to clipboard
Upgrade package with latest Flutter and Dart docs
…ement solutions
Major version 1.0.0 release with comprehensive upgrades and new features:
NEW FEATURES:
- Add BLoC state management support with events and states
- Add Cubit state management (simplified BLoC)
- Add Riverpod 3.x with code generation and Freezed integration
- Add Provider with ChangeNotifier pattern
- Implement modern Dart 3 features (pattern matching, switch expressions, super.key)
- Add input validation for feature names (lowercase and underscores only)
- Add helpful dependency information after feature generation
- Enhance error handling with detailed error messages
BREAKING CHANGES:
- Update Dart SDK constraint to ^3.6.0 (was >=2.18.0 <4.0.0)
- Update Flutter constraint to >=3.38.0 (was >=3.3.0)
- Update all dependencies to latest versions:
- args: ^2.6.0 (was ^2.4.1)
- mason: ^0.1.0-dev.58 (was 0.1.0-dev.49)
- path: ^1.9.0 (was ^1.8.2)
- ansicolor: ^2.0.3 (was ^2.0.1)
- test: ^1.25.10 (was ^1.24.3)
IMPROVEMENTS:
- Add lints package (^5.1.1) for code quality
- Add comprehensive analysis_options.yaml with recommended lints
- Update all templates to use super.key instead of Key? key
- Improve generated screens with AppBar and better structure
- Enhance command-line help with all supported types
- Add build time reporting in CLI output
- Update brick templates to version 2.0.0
DOCUMENTATION:
- Complete README rewrite with examples and comparisons
- Add detailed CHANGELOG following Keep a Changelog format
- Add individual README files for each state management brick
- Include dependency requirements and setup instructions
- Add state management comparison guide
TESTING:
- Add validation tests for feature names
- Add tests for supported state management types
- Improve test structure and coverage
All changes support production-ready Flutter applications with modern best practices.