appcraft_list_loading_flutter 0.1.0
appcraft_list_loading_flutter: ^0.1.0 copied to clipboard
Dispatcher for paginated list loading with offset/cursor support, debounced search and pluggable cancellation strategies.
appcraft_list_loading_flutter #
0.1.0 #
- BREAKING CHANGE: removed
finalmodifier from public concrete classes, allowing bothextendsandimplementsfor downstream consumers. Affected classes:ACDefaultListLoadingDispatcher,ACCustomListLoadingDispatcher,ACDefaultListLoadingParser,ACResultListLoadingParser,ACDebouncedSearchStrategy,ACOperationCancelStrategy. For consumers that did not rely onfinalguarantees, this is a non-breaking relaxation; no migration is required. - Added "Extending the API" section to README with subclassing example.
- Added inheritance/implementation note to dartdoc of all open classes.
0.0.1 #
- Initial package release.
- Added
ACListLoadingDispatcher<P, R, T>— a dispatcher for paginated list loading with support for offset/cursor pagination, search and cancellation. - Added facade dispatchers
ACDefaultListLoadingDispatcher<P, T>andACCustomListLoadingDispatcher<P, R, T>with pre-configured parsers. - Added parsers
ACListLoadingParser,ACDefaultListLoadingParser,ACResultListLoadingParser. - Added
ACListLoadingResult<T>mixin for response DTOs. - Added parameter mixins
ACListLoadingParamsMixin,ACOffsetListLoadingParamsMixin,ACCursorListLoadingParamsMixin. - Added search strategy
ACSearchStrategywith implementationACDebouncedSearchStrategy(debounce + minLength). - Added cancellation strategy
ACCancelStrategy(contract + implementation based onCancelableOperation).