iyam_bloc 0.2.0
iyam_bloc: ^0.2.0 copied to clipboard
Reusable and type-safe BLoC templates for Flutter apps. Provides load, pagination, and form BLoC patterns with ready-to-use widget helpers.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.2.0 - 2026-01-03 #
Changed #
- BREAKING: Removed
iyam_coredependency and replaced witheitherx. - BREAKING: Refactored
BaseLoadBloc,BasePaginationBloc, andBaseFormBlocto returnEither<String, T>instead ofRepositoryResult. - Added
PaginationResultmodel locally as it was removed withiyam_core. - Upgrade
blocto ^9.2.0.
0.1.0 - 2025-12-27 #
Added #
- Initial release of
iyam_bloc - Base BLoC templates:
BaseLoadBlocBasePaginationBlocBaseFormBloc
- State abstractions:
- Load states (initial, loading, success, error)
- PaginationState
- FormState
- Event abstractions:
- Load events
- Pagination events
- Form events
- Widget helpers:
BlocBuilderPageBlocConsumerPageBlocScaffoldPageBlocPaginationViewBlocFormBuilder
- Pagination footer loading & error handling
- Full type-safe implementation (no
dynamic)