Skip to content

Commit 8ed6c66

Browse files
committed
chore: update version and dependencies in pubspec.yaml; discard automatic loading state emission in AsyncCubit internal build
1 parent 4d94688 commit 8ed6c66

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/src/blocs/async_cubit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class AsyncCubit<ValueT extends Object?> extends RiveCubit<AsyncValue<ValueT>>
5959
@internal
6060
Future<AsyncValue<ValueT>> build(RiveBlocRef ref, Args? args) async {
6161
// Emit loading state.
62-
emit(AsyncValue<ValueT>.loading());
62+
// emit(AsyncValue<ValueT>.loading());
6363

6464
// Run the async function and emit the result.
6565
final newState = await AsyncValue.guard(

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: rive_bloc
22
description: >
33
A Simplified Flutter BLoC API Layer, Deeply Inspired by Riverpod. RiveBloc
44
makes working with BLoC less verbose and less time-consuming.
5-
version: 0.0.3
5+
version: 0.0.4
66
repository: https://github.com/jovazcode/rive_bloc
77
topics:
88
[
@@ -17,11 +17,11 @@ environment:
1717
sdk: ">=3.0.0 <4.0.0"
1818

1919
dependencies:
20-
bloc: ^8.1.4
21-
bloc_concurrency: ^0.2.5
20+
bloc: ^9.0.0
21+
bloc_concurrency: ^0.3.0
2222
flutter:
2323
sdk: flutter
24-
flutter_bloc: ^8.1.6
24+
flutter_bloc: ^9.0.0
2525
get_it: ^7.6.6
2626
meta: ^1.11.0
2727
stack_trace: ^1.11.1

0 commit comments

Comments
 (0)