bloc_simple 1.0.3
bloc_simple: ^1.0.3 copied to clipboard
A package that makes life more easier
Changelog #
All notable changes to this project will be documented in this file.
1.0.3 - 2025-04-10 #
Added #
example/directory with a working usage sample (example/main.dart)- Widget test setup using
flutter_testfor counter UI README.mdenhanced with detailed usage examples and API documentationREADME.mdbadges for version and license
Fixed #
- Bug in decrement button not triggering due to missing function call
- Typo in repository mixin exception message
- Improved layout structure of floating action buttons
- Updated internal state checks in
SimpleStateto support better error rendering
1.0.2 - 2025-04-10 #
Added #
SimpleState<T>: Unified state representation with.initial(),.loading(),.success(), and.error().SimpleCubit<T>: Lightweight Cubit abstraction with helper methods.SimpleBloc<Event, T>: Simplified Bloc with built-in loading, success, and error handling viaexecuteAsync.- Repository pattern support:
RepositoryConnector<T, R>mixinRepositoryCubit<T, R>abstract classRepositoryBloc<T, R>abstract class
- Testing utility:
testSimpleBlocto simplify Bloc test setup. - Example usage for working with remote data using
SimpleBlocand JSONPlaceholder. - Basic usage guide and setup in README.
Fixed #
- Null safety improvements.
- Improved exception handling in
SimpleBloc.