Honza Bittner
Honza Bittner
@LukasMirbt good question. When I write widget tests, I would rather test what happends in what state. But you can for sure also test which event you have called when...
1. in the example its passed by parameter to the provider. You can make it nullable and do `myBloc ?? MyBloc()` in the provider create. Or rather use get_it and...
It's hard to judge since you didn't show what is on the first screenshot and when in the widget tree you are using it. But my guess would be that...
Since no more additional comments are provided, I am closing this. Feel free to reopen if you have more issues.
> seperate things **properly** @klausmyrseth I think that depends a lot of technology. It's worth a note that many technologies does not have this concept of part fiels. Part files...
I understand how unintuitive it might seem, but mobile it is made different from i.e. web. On web you always have just one screen and the others are gone. In...
@mattalbr thanks for you answer. By my logic, if you say that from navigation stack i.e. - page A - page B - page C -- with provider / listener...
Since no additional comments were provided, I am closing this for now. Feel free to reopen.
> It makes more sense that the bloc has its own API to notify when its stream is (or is stopped) being listened to. Hope I managed to make more...