-
You should consider using bloc or just cubit, for state management. The code will be much easier to maintain and you wont need to call setState all the time.
Relative example
https://bloclibra…
-
For me, it is unclear in the documentation how I'm supposed to inject data sources to a repository.
When looking at the following code, I think this cannot work, since there is no constructor setti…
-
Hello,
I would like to know how to close a subscription or which would be the best way of avoiding opening a new subscription each time I enter a page in the app.
My issue: I have a subscription…
-
Hello Felix,
Sorry for bothering you with a question using the issues system, but this is bugging me for a while and I am not sure how to deal with it.
For example, I am working on an app which h…
-
**Description**
I have a BLOC to fetch all the audio files from AWS. When I call the Bloc Event( fetchAudioBloc.add(const FetchAllAudio()) ), it is rebuilding the UI again and again. Basically, the B…
-
I've been following ResoCoder's Flutter Clean Architecture TDD [https://resocoder.com/flutter-clean-architecture-tdd/](url) but I'm currently struggling to understand how to combine this with the new …
-
RepositoryProvider.create and BlocProvider.create must work like didChangeDependencies, not initState.
They must depend on their dependencies like InheritedWidget.
This is `flutter way` and `reactiv…
-
I hope that the `flutter team` will introduce the best practices of `code optimization` to improve app startup speed and avoid stalls.
-
**Description**
Repositories often have HTTP clients, stream controllers, or other objects that need to be disposed, canceled, or closed. Given a rule of thumb: whoever is creating the object shoul…
-
## Bug report
**Describe the bug**
ServerValue.Increment() works wrong when the connection goes from Online to Offline
### Steps to reproduce
Steps to reproduce the behavior:
1. Make a fo…