cesium 1.3.0
cesium: ^1.3.0 copied to clipboard
A lightweight state management framework using ValueNotifier and Listenable with built-in Dio HTTP resources, pagination, targeted rebuilds.
1.0.0 #
Initial release with the following features:
ComputedResource: aValueNotifierthat automatically reruns its computation when one of its dependencies changes.FutureResource: aValueNotifierthat exposes the current state of aFuture, making it easier to integrate asynchronous results into UI.HttpResource: aValueNotifierrepresenting the state of a GET HTTP request for simpler UI integration.PaginatedHttpResource: similar toHttpResource, but with built-in support for infinite-scroll pagination.CesiumService: a base class for services that can be registered with the package's dependency helpers.- Extensions for
ListenableandValueNotifierto simplify UI code. ManagedListenerMixin: a mixin forStatefulWidgetthat automatically removes added listeners duringdispose().- Error logging: a centralized
Cesiumerror API. Report errors withCesium.logError(error)and register a handler withCesium.setErrorHandler(...).
1.0.1 #
- Added a
NOTICEfile for dependency license attribution (async,dio,Flutter).
1.1.0 #
- Added a centralized
CesiumHttpServicewith HTTP helpers and reset support for cleaner dependency injection and testing. - Introduced a shared
HttpResourceBaseto consolidate request execution, debounce handling, dependency reloading, and progress tracking. - Updated
HttpResourceandPaginatedHttpResourceto use the new base flow while preserving pagination behavior and result accumulation. - Expanded the service management API with override/reset patterns to support testing and configuration flexibility.
- Added focused coverage for initial loads, errors, dependency-triggered refreshes, and paginated requests.
1.1.1 #
- Added inlineEnd to paginated http response so that when the user reaches an end it can display something
- Added inlineStart to paginated http response so that widgets can be inserted at the start of the ListView.builder
1.1.2 #
- Added documentation to all sections of the code
1.2.0 #
- Added GUIDE.md as a comprehensive guide of the framework
- Made urlBuilder in PaginatedHttpResource take a page parameter
1.2.1 #
- Made description better for pub.dev search
1.2.2 #
- Added optimistic value in FutureResource.runNewFuture
- Added the ability to retry on error in FutureResource
- Added a prameter for max retry count in http resource with exponential backoff
1.2.3 #
- Changed description
1.3.0 #
- Added topics
- Added ability to override dio instance in CesiumHttpService
- Added ActionResource to handle async actions cleanly