adsonpleal

Results 41 comments of adsonpleal

Or we can just show a warning for now and ignore the refresh, this would be way simpler.

The context is this comment that you've made: > getState can be out of date, such as if a provider isn't listened but one of its dependencies has changed. The...

Perfect! Will do, soon I'll open a PR here and another there on devtool so we can discuss code!

https://user-images.githubusercontent.com/11666470/174911002-a28792d1-ebca-4c7c-b56e-b88002afdfea.mp4 @rrousselGit just sharing with you the final experience that I have in mind. For now I'll just add a warning to providers that have no listeners. Refreshing the provider...

You mean this [flush](https://github.com/rrousselGit/riverpod/blob/master/packages/riverpod/lib/src/framework/provider_base.dart#L416)? I didn't get how to know that the provider might be out of date. Is it the `_mustRecomputeState` flag?

perfect! I'll use the `_mustRecomputeState` flag instead of `hasListeners` then!

hey @rrousselGit here is the first PR https://github.com/rrousselGit/riverpod/pull/1471 This is the simple one, the other for devtools is on the way, still got to finish polishing the code.

@rrousselGit just opened the devtools PR, as a draft, so we can have discussions over there. https://github.com/flutter/devtools/pull/4210

I'm using a hack that is good enough for my needs: ```dart Stack( children: [ YoutubePlayer( enableFullScreenOnVerticalDrag: false, controller: controller, aspectRatio: 16 / 9, ), if (showOverlay) Positioned.fill( child: PointerInterceptor(...

I have the same issue, flutter 3.19.0. Is there any workaround for this issue?