resource_state_builder 0.0.5
resource_state_builder: ^0.0.5 copied to clipboard
A generic implementation of resource states and UI builders for paginated and standard resources.
Changelog #
All notable changes to this project will be documented in this file.
0.0.5 #
Added #
- MultiResourceBuilder: Implemented composite architecture with
ResourceDefandPaginatedResourceDeffor robust multi-resource screens. - Resource State: Added new extension methods
toGettingMore()/toPopUpLoading()for easier state transitions. - Pagination Helpers: New data manipulation methods for paginated resources:
appendItems,prependItems,updateWhere,replaceWhere, andinsertAt. - Resource Config: Implemented inheritance/merging for nested
ResourceConfigwidgets, allowing partial overrides. - Paginated Resource Builder: Added support for horizontal scroll direction and grid layouts via
scrollDirectionandgridDelegate.
Fixed #
- ResourceAggregator: Improved logic to use strict (All) resolution for
toAggregate.
0.0.3 #
Added #
- Unified
copyWithDataandcopyWithErrorinto a single, idiomaticcopyWithmethod inResourceExtension. - Comprehensive API documentation in
README.mdfor all extension helpers (ResourceExtension,ResourcePaginatedX, andResourceAggregator). - Detailed code examples for Logic Layer Integration and Advanced Patterns moved to the primary documentation section.