bloc_small 2.2.0 copy "bloc_small: ^2.2.0" to clipboard
bloc_small: ^2.2.0 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.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
0
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

License

unknown (license)

Dependencies

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

More

Packages that depend on bloc_small

Packages that implement bloc_small