bloc_small 2.2.2
bloc_small: ^2.2.2 copied to clipboard
An easy-to-use Flutter package offering a streamlined BLoC pattern implementation for intuitive and efficient state management in Flutter apps.
Changelog #
2.2.2 #
- Fixed package validation issues
- Added proper test support
- Updated dependencies to latest versions
- Improved documentation
2.2.1 #
Features #
- Added
BlocErrorHandlerMixinfor standardized error handling - Improved error logging and management
- Added support for common exception types (NetworkException, ValidationException, TimeoutException)
Bug Fixes #
- Fixed loading state management between screens
- Fixed error handling in blocCatch
- Improve DI
- Improve Bloc Test
Documentation #
- Added error handling section in README
- Added examples for BlocErrorHandlerMixin usage
- Updated error handling best practices
2.2.0 #
Features #
- Added StatelessWidget support with
BaseBlocPageandBaseCubitPage - Added
BasePageStatelessDelegatefor common StatelessWidget functionality - Maintained feature parity with StatefulWidget implementations including:
- Dependency injection
- Loading overlay management
- Navigation support
- BLoC/Cubit pattern integration
Documentation #
- Updated README with StatelessWidget usage examples
- Added comparison between StatelessWidget and StatefulWidget approaches
- Added code examples for both BLoC and Cubit with StatelessWidget
2.1.2 #
- Hotfix
BlocContextextension for BlocProvider and BlocListener
2.1.1 #
- Reorganized and consolidated exports into a single file
- Improved package organization and maintainability
- Removed separate export files for third-party packages
- Added clear export grouping with documentation
- Add logs navigator and type key
2.1.0 #
Breaking Changes #
- Renamed
BasePageStatetoBaseBlocPageStatefor better clarity
Features #
- Added Cubit implementation with counter example
- Added
BaseCubitPageStatefor Cubit pattern support - Added error handling with
cubitCatch - Added loading state integration for Cubits
- Improved class naming consistency
Documentation #
- Updated README with Cubit usage section
- Added comparison between BLoC and Cubit patterns
- Added new examples for both BLoC and Cubit approaches
- Added migration guide for existing code
Migration Guide #
- Replace
BasePageStatewithBaseBlocPageState - Consider using Cubit for simpler features
- Update imports to use new class names
1.1.0 #
- add sample code
- upgrade flutter
- update readme
- update api reactive subject