-
**Description**
I'm trying to test this code
```
// my_bloc.dart
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import 'package:bloc/bloc.dart';
part 'my_state.…
-
**Description**
I often need a way to test if events are properly added as a result of listening to a stream. For example:
```dart
class MyBloc extends Bloc
MyBloc() {
on((event, emit) …
-
**Description**
dear @felangel
thanks lot of for everything
hydrated_bloc on initial structure is not good
log :
```
Storage was accessed before it was initialized.
Please ensure that s…
-
**Describe what scenario you think is uncovered by the existing examples/articles**
The docs say you can access a provider from outside the UI: https://riverpod.dev/docs/concepts/reading/#reading-a-p…
-
## Steps to Reproduce
- Testing on **Flutter 2.8.1 Stable for Web**. Debug is working as expected but when deployed to **test** or **production**, it fails.
- DropdownButton is fine, only issue is w…
-
Code review by @aalex (in progress)
Note: This would fit better in a wiki page, and should eventually be split into multiple tickets. Then, each ticket should prioritized or discarded.
## Coding…
aalex updated
2 years ago
-
Hi Nakum,
https://dhruvnakum.xyz/flutter-bloc-a-complete-guide
I am following your above-mentioned article.
You explained so well , and I am also implementing the bloc pattern by following your …
-
hive version: "1.4.0+1"
This happen when my app crash and restart immediately by android system
```
E/flutter (32001): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: HiveErro…
-
### use case
I would like to structure my tests in a way that allow me to
- test `listeners` on cubit change
- rely on underlying provider for dependency injections in listeners and cubit
- test…
-
can blocBuillder receive multiple states like (context, state:[stateA, stateB]) from different bloc?