data_state 0.2.6
data_state: ^0.2.6 copied to clipboard
A practical alternative to the AsyncSnapshot API
0.2.6 - 2020-04-19 #
- Fix docs/license
0.2.5 - 2020-04-18 #
- Rearrange project layout, add
DataStateBuilder - Stream should dispose of notifier, not the other way round
0.2.4 - 2020-04-16 #
- Add
onError - Move
reloadto notifier and supply it as param - More tests and improved docs
0.2.3 - 2020-04-15 #
- Change dependency to be compatible with flutter_test
0.2.2 - 2020-04-15 #
- Add tests
- Improve documentation
0.2.1 - 2020-04-03 #
- Make
streamemit aValueStream<T>(not aValueStream<DataState<T>>) so it plays better with AsyncSnapshot (useful for incremental upgrades)
0.2.0 - 2020-03-23 #
- Make
modelan optional argument - Improve docs
0.1.1 - 2020-03-12 #
- Make initial state optional
0.1.0 - 2020-03-12 #
- Add
DataStateimmutable class carries data, loading and exception information - Add
DataStateNotifierclass, aStateNotifierforDataStateobjects that additionally supports a Stream API - Write README