fetcher 4.0.0 fetcher: ^4.0.0 copied to clipboard
Flutter package to Fetch and display asynchronous data easily
4.0.0 #
- BREAKING: replace
FetchBuilder.basic
constructor to simplyFetchBuilder
. - BREAKING: replace
FetchBuilder.parameterized
constructor toFetchBuilderWithParameter
. - BREAKING: rename
BasicFetchBuilderController
to simplyFetchBuilderController
. - BREAKING: rename
ParameterizedFetchBuilderController
to simplyFetchBuilderWithParameterController
. - BREAKING: remove obsolete
clearFocus2
method. - BREAKING: For
FetchBuilder
,FetcherConfig.fetchErrorBuilder.errorData.error
is now directly the thrown error object, instead of a uselessFetchException
(which is now hidden). - BREAKING: remove
FetchBuilder.getFromCache
andFetchBuilder.saveToCache
: cache handling should be done at the BLoC level. - Fix when
FetchBuilder.onSuccess
throws an error: it's now handled like ifFetchBuilder.task
throws (before that fix, it would be stuck in loading state). - Export
ActivityBarrier
widget
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
AsyncTaskBuilder
toSubmitBuilder
. - BREAKING: rename
AsyncForm
toSubmitFormBuilder
. - BREAKING: rename
AsyncEditBuilder.commitTask
toAsyncEditBuilder.submitTask
. - BREAKING: all
onSuccess
callbacks are now synchronous. - BREAKING: remove
FetcherConfig.fade
parameter. UseFetcherConfig.fadeDuration
instead. - BREAKING: a bit of other renaming & export cleaning.
- New
FetcherConfig.silent
config for cases where loader & error should not be displayed. - Fix fade animation not working properly.
2.0.1 #
- BREAKING: rename
FetcherConfigErrorData
toFetchErrorData
. - Fix
FetchErrorData
export.
2.0.0 #
- BREAKING:
fetchErrorBuilder
now passes error object to the builder, so error can be used in widget.
1.0.0 #
- BREAKING:
AsyncForm
is now generic and handles a parameter of typeT
to be passed on. - Add new
AsyncFormPage
in the example app.
0.6.2 #
- Replace
findAncestorWidgetOfExactType
bygetInheritedWidgetOfExactType
for better performance - Fix
AsyncTaskBuilder.runTask
catch bloc throwing because of unmounted context
0.6.1 #
- Fix ActivityBarrier reverse animation
0.6.0 #
- BREAKING: New
FetchBuilder
error display handling usingFetchErrorDisplayMode
- BREAKING: Remove
ConnectivityException
&UnreportedException
- BREAKING: Rename
FetchBuilder.errorBuilder
toFetchBuilder.fetchErrorBuilder
0.5.1 #
- Properly handle when
FetchBuilder.saveToCache
throws
0.5.0 #
- Add
barrierColor
parameter toAsyncTaskBuilder
0.4.1 #
- Fix
FetchBuilder
error that may occur when task throws when state is unmounted
0.4.0 #
- BREAKING:
EventFetchBuilder.fromEvent
constructor is replaced by default constructor EventFetchBuilder
now internally useEventStreamBuilder
, which allow to properly handle initial error
0.3.0 #
- New
PagedListViewFetcher
widget, that fetches a paginated list of data, page by page
0.2.0 #
- Add
AsyncEditBuilder.fetchingBuilder
parameter, to customize the fetching widget independently from the committing widget
0.1.0 #
- Add
AsyncTaskBuilder.runTaskOnStart
parameter
0.0.11 #
- Fix
AsyncEditBuilder.onEditSuccess
not called
0.0.10 #
- Update to
value_stream
0.0.4
0.0.9 #
- Fix
AsyncEditBuilder
to correctly pass config
0.0.8 #
- Parameter retry of
FetcherConfig.errorBuilder
is now optional, to correctly handleEventFetchBuilder
stream errors
0.0.7 #
- Fix
EventFetchBuilder
when using stream with null values
0.0.6 #
- Add
FetchBuilder.initBuilder
param (to be used withfetchAtInit
false) - New static
AsyncTaskBuilder.runTask
method that allows to run headless task safely - New
AsyncEditBuilder
0.0.5 #
- Default
FetchBuilderErrorWidget
now handlesisDense
parameter - New
EventFetchBuilder
widget - Move
isDense
and fade insideFetcherConfig
- Expose
ClearFocusBackground
- Rename
reportError
toonError
ANDshowError
toonDisplayError
0.0.4 #
- Replace
rxdart
dependency byvalue_stream
- Remove
ValueStreamBuilder
(useEventStreamBuilder
fromvalue_stream
)
0.0.3 #
- New
AsyncForm
widget - Code clean-up
0.0.1-dev1 #
- Initial dev version