fetcher 4.2.0
fetcher: ^4.2.0 copied to clipboard
Flutter package to Fetch and display asynchronous data easily
4.2.0 #
- New feature to prevent a form to pop with unsaved changes when using
SubmitFormBuilder. Introduce newGuardedFormwidget, along with newonUnsavedFormPopparameter inFetcherConfigandSubmitFormBuilder.
4.1.1 #
- Fix unnecessary rebuild when using
EventFetchBuilder.
4.1.0 #
- New
FetchRefresherwidget, that allows to refresh allFetchBuilderchildren using Material "swipe to refresh" idiom. - Fix
FetchBuilder.controllerupdate when widget parameter changes.
4.0.0 #
- BREAKING: replace
FetchBuilder.basicconstructor to simplyFetchBuilder. - BREAKING: replace
FetchBuilder.parameterizedconstructor toFetchBuilderWithParameter. - BREAKING: rename
BasicFetchBuilderControllerto simplyFetchBuilderController. - BREAKING: rename
ParameterizedFetchBuilderControllerto simplyFetchBuilderWithParameterController. - BREAKING: remove obsolete
clearFocus2method. - BREAKING: For
FetchBuilder,FetcherConfig.fetchErrorBuilder.errorData.erroris now directly the thrown error object, instead of a uselessFetchException(which is now hidden). - BREAKING: remove
FetchBuilder.getFromCacheandFetchBuilder.saveToCache: cache handling should be done at the BLoC level. - Fix when
FetchBuilder.onSuccessthrows an error: it's now handled like ifFetchBuilder.taskthrows (before that fix, it would be stuck in loading state). - Export
ActivityBarrierwidget
3.1.0 #
- Add NewsReaderPage example
- Add BLoC pattern components, so fetcher can be use with BLoC pattern without any additional dependency.
3.0.0 #
- BREAKING: rename
AsyncTaskBuildertoSubmitBuilder. - BREAKING: rename
AsyncFormtoSubmitFormBuilder. - BREAKING: rename
AsyncEditBuilder.commitTasktoAsyncEditBuilder.submitTask. - BREAKING: all
onSuccesscallbacks are now synchronous. - BREAKING: remove
FetcherConfig.fadeparameter. UseFetcherConfig.fadeDurationinstead. - BREAKING: a bit of other renaming & export cleaning.
- New
FetcherConfig.silentconfig for cases where loader & error should not be displayed. - Fix fade animation not working properly.
2.0.1 #
- BREAKING: rename
FetcherConfigErrorDatatoFetchErrorData. - Fix
FetchErrorDataexport.
2.0.0 #
- BREAKING:
fetchErrorBuildernow passes error object to the builder, so error can be used in widget.
1.0.0 #
- BREAKING:
AsyncFormis now generic and handles a parameter of typeTto be passed on. - Add new
AsyncFormPagein the example app.
0.6.2 #
- Replace
findAncestorWidgetOfExactTypebygetInheritedWidgetOfExactTypefor better performance - Fix
AsyncTaskBuilder.runTaskcatch bloc throwing because of unmounted context
0.6.1 #
- Fix ActivityBarrier reverse animation
0.6.0 #
- BREAKING: New
FetchBuildererror display handling usingFetchErrorDisplayMode - BREAKING: Remove
ConnectivityException&UnreportedException - BREAKING: Rename
FetchBuilder.errorBuildertoFetchBuilder.fetchErrorBuilder
0.5.1 #
- Properly handle when
FetchBuilder.saveToCachethrows
0.5.0 #
- Add
barrierColorparameter toAsyncTaskBuilder
0.4.1 #
- Fix
FetchBuildererror that may occur when task throws when state is unmounted
0.4.0 #
- BREAKING:
EventFetchBuilder.fromEventconstructor is replaced by default constructor EventFetchBuildernow internally useEventStreamBuilder, which allow to properly handle initial error
0.3.0 #
- New
PagedListViewFetcherwidget, that fetches a paginated list of data, page by page
0.2.0 #
- Add
AsyncEditBuilder.fetchingBuilderparameter, to customize the fetching widget independently from the committing widget
0.1.0 #
- Add
AsyncTaskBuilder.runTaskOnStartparameter
0.0.11 #
- Fix
AsyncEditBuilder.onEditSuccessnot called
0.0.10 #
- Update to
value_stream0.0.4
0.0.9 #
- Fix
AsyncEditBuilderto correctly pass config
0.0.8 #
- Parameter retry of
FetcherConfig.errorBuilderis now optional, to correctly handleEventFetchBuilderstream errors
0.0.7 #
- Fix
EventFetchBuilderwhen using stream with null values
0.0.6 #
- Add
FetchBuilder.initBuilderparam (to be used withfetchAtInitfalse) - New static
AsyncTaskBuilder.runTaskmethod that allows to run headless task safely - New
AsyncEditBuilder
0.0.5 #
- Default
FetchBuilderErrorWidgetnow handlesisDenseparameter - New
EventFetchBuilderwidget - Move
isDenseand fade insideFetcherConfig - Expose
ClearFocusBackground - Rename
reportErrortoonErrorANDshowErrortoonDisplayError
0.0.4 #
- Replace
rxdartdependency byvalue_stream - Remove
ValueStreamBuilder(useEventStreamBuilderfromvalue_stream)
0.0.3 #
- New
AsyncFormwidget - Code clean-up
0.0.1-dev1 #
- Initial dev version