data_state 0.3.4-dev.1
data_state: ^0.3.4-dev.1 copied to clipboard
A reactive data structure for loading/error/data substates
[0.3.4-dev.1] - 2020-07-19 #
- simplify API
[0.3.3] - 2020-06-22 #
- upgrade
freezed
[0.3.2] - 2020-06-17 #
- support producing events from
Future
andStream
[0.3.0] - 2020-06-13 #
model
is now a positional argument- Update
state_notifier
andrxdart
[0.2.7] - 2020-04-19 #
- Stupid formatting fix
[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
reload
to 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
stream
emit aValueStream<T>
(not aValueStream<DataState<T>>
) so it plays better with AsyncSnapshot (useful for incremental upgrades)
[0.2.0] - 2020-03-23 #
- Make
model
an optional argument - Improve docs
[0.1.1] - 2020-03-12 #
- Make initial state optional
[0.1.0] - 2020-03-12 #
- Add
DataState
immutable class carries data, loading and exception information - Add
DataStateNotifier
class, aStateNotifier
forDataState
objects that additionally supports a Stream API - Write README