future_widget 0.3.2
future_widget: ^0.3.2 copied to clipboard
FutureWidget and FutureWidgetWrapper — a pragmatic and clear alternative to FutureBuilder/StreamBuilder
0.3.2 #
- Make
autoDisposeOnErroralways reject errors while noFutureWidgetis watching.- Previously errors were kept in the background and disposed only in
FutureWidget'sinitState.
- Previously errors were kept in the background and disposed only in
0.3.1 #
- Fix bug "Errors can be shown with autoDisposeOnError setting set to true"
0.3.0 #
Huge rewrite:
- Move most logic from widget to value notifier (
FutureGen), thus allow seamless integration among multipleFutureWidgetinstances and a singleFutureGen. - Rename many variables and classes.
- Add proper laziness support at
FutureGenlevel (ON by default). - Invoke refresh futures lazily and, in case of
nonPriorityrefreshes, only if preconditions are met. - Add auto dispose on error support (ON by default).
- Among others.
This update was a bit rushed and lacks:
- Up-to-date documentation
- Up-to-date docstring
0.2.0 #
- Lift
isRefreshingstate up toFutureWidgetWrapper. - Deprecate
setFutureProvider,futureProviderFallbackValue,tmpFutureProviderFallbackValue - Rename many variables and classes.
- Update docs.
0.1.0 #
- Added up-to-date documentation.
- Renamed many typedefs, classes and variable.
- Added
disposeStateoption torefreshcallback.- Removed
onLoadingargument passed toonDataandonErrorcallbacks.
- Removed
- Other things.
0.0.1 #
- Temporarily removed outdated documentation.
- Rewritten
FutureWidgetfrom packagedeclarative_async_widget. - Changed callback names and constructor names.
- Added
isRefreshingsupport. (which can replaceStreamWidget/StreamBuilderin most situations). - Added
FutureWidgetWrapper. - Other things.