stated_result 0.2.0 stated_result: ^0.2.0 copied to clipboard
A bloc that accepts async source as input
Change Log #
[0.2.0] - 2021-05-04 #
- Upgraded dependencies
- Aligned generic parameter order of
QueryBlocBuilder
andQueryBlocConsumer
toBlocBuilder
andBlocConsumer
ActionBloc.captureResult
andActionResultNotifier.captureResult
returns original future.- Added
AsyncQueryResult.fromValue
to create instance from value - Added more tests
[0.2.0-preview.5] - 2021-03-25 #
- Add
mapValue
- Fix builder type issue for
EmptyableContentBuilder
- Make BLoc builders and bloc consumers accept
BlocBase
instead ofBloc
, so theCubit
can be applied - Make
ActionBloc
andQueryBloc
non-abstract - Fix issue that
AsyncQueryResult.pending().updateWith
throwsAsyncQueryResult<T>
isn't subtype ofAsyncQueryResult<Never>
[0.2.0-preview.4] - 2021-03-23 #
- Rename
Busy
toWaiting
- Add documents for
stated_result_builder
- Add tests for
stated_result_builder
- Rename all result builders' default builder property from
valueBuilder
tobuilder
- Add new
.from
conversion factory method to convertStatedResult
from one to another - Add
updateWith
onAsyncStatedResult
- Add
captureResult
toCubit
andValueNotifier
- Update
updateWith
parameter type onCubit
andValueNotifier
- Remove
updateWithAsync
method - Added
FutureResultBuilder
to consume future directly
[0.2.0-preview.3] - 2021-03-20 #
- Refactor code
- Improve test coverage
- Improve document quality
- Improve naming
- Introduce
BlankableBuilder
to handle empty list or nullable value
[0.2.0-preview.2] - 2021-03-19 #
- Try to export features into different libraries
[0.2.0-preview.1] - 2021-03-19 #
- Reshape Project and rename project from
async_bloc
tostated_result
[0.1.1] - 2021-03-18 #
- Added
ValueNotifier
andListenableBuilder
integration
[0.1.0] - 2021-03-18 #
- First release