bloc_small 2.2.3 copy "bloc_small: ^2.2.3" to clipboard
bloc_small: ^2.2.3 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.3 #

  • Upgrade flutter
  • Remove test helper

2.2.2 #

  • Fixed package validation issues
  • Added proper test support
  • Updated dependencies to latest versions
  • Improved documentation

2.2.1 #

Features #

  • Added BlocErrorHandlerMixin for 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 BaseBlocPage and BaseCubitPage
  • Added BasePageStatelessDelegate for 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 BlocContext extension 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 BasePageState to BaseBlocPageState for better clarity

Features #

  • Added Cubit implementation with counter example
  • Added BaseCubitPageState for 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 BasePageState with BaseBlocPageState
  • 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
5
likes
140
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

An easy-to-use Flutter package offering a streamlined BLoC pattern implementation for intuitive and efficient state management in Flutter apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

auto_route, bloc_test, flutter, flutter_bloc, get_it, injectable, rxdart

More

Packages that depend on bloc_small